Geoffrey_S Posted July 15, 2009 Share Posted July 15, 2009 I have written a small script that selects 3D loci with attached record. Then it will duplicate them in place. I would like to replace these duplicates with a symbol that has its own class This is so that the customers and the guys on the job can see the drawing the way they are used to and I don't Is this possible? Quote Link to comment
MullinRJ Posted July 16, 2009 Share Posted July 16, 2009 Hi Geoff, ???Rather than replace duplicate 3DLoci, place your symbol at the same location instead. You will need to loop through each 3DLocus and use its XYZ for the symbol placement with Symbol('sym name', X, Y, 0);. Symbols place in X&Y then use a Move3D(0, 0, Z); to raise it up. You'll want to be in TOP view for it to work correctly. If you want the record information to stay attached you'd have to copy the record from the original locus to the symbol just after you place the symbol. ???The smallest code can be achieved by using ForEachObjectInLayer() but you may find it easier to use a WHILE loop to step through the handles of the 3DLoci if you are new to VS. ???Also, did you search the archives for a script? This question has been asked before and I'd be surprised if there isn't something out there. Raymond Quote Link to comment
Geoffrey_S Posted July 20, 2009 Author Share Posted July 20, 2009 Hi Raymond, Thanks for the info, I shall be trying these suggestions during this week. Geoff Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.