I have a small (but time consuming) challenge in that we have a ton of custom tool boxes created that all require re-pathing so it seems. I have before used Configuration Variables for loading Cell Libraries, but am curious to know if there is a way to attempt this with these tool boxes?
Additionally we will not only need to modify the UNC pathing here in Calgary but then will need to re-path the tool boxes again with two of our other locations in Denver and Mumbai.
Or even if there is a way to modify via PFE or a text editor of the USTN.m01 files?
It is not possible to edit these files with a text editor, as you may have tried already. Personally I prefer to push anything into a cfg/pcf/ucf as soon as a path name is required. This allows me to edit path names from a remote location without interfering with the user. A macro to launch path dependent things also works.
Ivo Blaauw= = = = = = = = = = = = =Look what the CAD dragged in...
If you are going to continue to use V7 then you should consider going back on all these and removing all references to cell libraries. Keep only the call to the cell itself. Include the cell library(s) in the celllist variable. You will never have this problem again at any of the locations.
the m01 file can be edited with a hex editor.......search for a free one on the webb....HxD will work just fine
Thank you for all your replies thus far!
All of my PCF / UCF / CFG files are pathed to all required UNC file folders. And unfortunately using PDS 3D (where the drawings come from) we are stuck with using V7 / J - no choice. Either way I wanted to inquire about the celllist variable you mentioned. Is this in the Workspace Configuration (cell library directories and cell libraries list). If this is the configuration you are talking about then yes all pathing is already there.
So as a test I did just that and removed the pathing and only kept the cell call-out, answer was cell not found. I only modified one of the buttons so when I chose one that had a path inserted it loaded no problem, then selected the previous button on the menu that was not found prior now can be placed because the second button loaded the cell library.
Also I did try the HxD download and am not to certain about editing the file? I would assume where it calls out a cell i.e. "AC=CHAIR" I would modify it to the physical UNC path?
Again thank you in advance for your replies and information!
LeeH0571 said:I would assume where it calls out a cell i.e. "AC=CHAIR" I would modify it to the physical UNC path?
No. CHAIR is the name of a cell in a library (.cel file). In MicroStation/J cell names must be six characters or fewer and must be upper case. A cell name never includes a path.
MicroStation searches for cell libraries in the folder list specified in configuration variable MS_CELL. If the cell library that includes CHAIR can be found in one of those paths, then MicroStation will have no problem activating that cell.
In your example screenshot, the key-in is in two parts (separated by a semi-colon). The first part, starting RC=<cell lib path> attaches a cell library; the second part, starting AC=<cell name> activates a cell in that library.
It's the path in the RC key-in that is unnecessary. With MS_CELL defined, MicroStation will respond to RC=<lib name>, because it knows to search the folders defined by the MS_CELL variable.
Regards, Jon Summers LA Solutions
You should also detach any attached cell library. I used this method for many years at ADOT so I know it works even in M01 files.