Quantcast
Viewing all articles
Browse latest Browse all 7260

RE: Using a MACRO to change specific reference file logical names

[quote user="Taylor Brownlow"]I have reference files in a master file named 12345drng.dgn, 12345reqd.dgn and I need to have something that will go to each file's properties and change the logical name to DRNG and REQD[/quote]

Your rule is something like this pseudo-code?

If fileName Like "nnnabcd.dgn" Then
  logicalName = ExtractAlphaFromName (fileName)
EndIf

Where function ExtractAlphaFromName() strips the file extension and trims the leading digits?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>