MullinRJ Posted December 3, 2002 Share Posted December 3, 2002 I ran into this before. I believe I used LObject for the Last Object in the document. Your duplicated object should be the last object until another is created. HTH, Raymond Quote Link to comment
MullinRJ Posted December 3, 2002 Share Posted December 3, 2002 Sorry, on second thought, I believe it was LActLayer for the last object on the active layer. When dupliated, your new object will be on top, and therefore the last object on the active layer. HTH, Raymond Quote Link to comment
Alexandre Villares Posted December 3, 2002 Share Posted December 3, 2002 I think I heard something at the VS-List about LNewObj giving you the handle to the last object created by your script, BUT that objects created with 'DoMenuBy...' (such as 'Paste' on Raymond's terrific duplicate script) would 'escape the internal VS sequence'. You could try creating a dummy object (usually a locus, and we call him Waldo) getting it's handle, doing your your stuff, locating the objects in relation to Waldo and then deleting him. Quote Link to comment
Guest Posted December 4, 2002 Share Posted December 4, 2002 How do you find the handle to the duplicate you just made? I figured that LNewObj would give me it but all I get is Nil. Lactlayer just gives me the handle to the line I duplicated. Any Ideas? 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.