TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Hangman on March 02, 2010, 02:34:18 PM

Title: Selecting an entity in an xref ...
Post by: Hangman on March 02, 2010, 02:34:18 PM
I know I have seen this around, but for the life of me I can't find it anywhere.
I remember this because it is VLA and I'm not very good at VLA yet.

I understand in Microstation, you can select an entity in an xref and copy it to your current drawing.
So, here's what I am looking for.

I need a LiSP that will allow a user to select an entity on their drawing,
the LiSP will return to the user whether the entity selected is on an xref or not, and if so, the name of the xref, layer, color, linetype, textstyle, dimstyle, etc.
the LiSP will ask the user whether they would like to turn the layer off of what the entity is on, or copy the entity to the current drawing.

Possibilities:
select several entities at once ??
work with nested xrefs two or three levels deep ??
work with blocks in xrefs ??
Anyone have other thoughts as to potential possibilities ??

Could you help me with this one, like I said I don't know VLA very well.
Thank you everyone for your input and time.

<edited>  Hey, my IE was acting up, I think I have just found something.  But hey, sound off anyway, I'd like to hear your thoughts.  Thanks.
<edited>  I have found the posts I was looking for.   Hold off on responding, I'll get back to you all when I'm done reading.  Thank you all.
Title: Re: Selecting an entity in an xref ...
Post by: alanjt on March 02, 2010, 03:08:48 PM
LayOff? XList?
Title: Re: Selecting an entity in an xref ...
Post by: cmwade77 on March 02, 2010, 05:00:53 PM
ncopy, but it won't do the layer stuff.
Title: Re: Selecting an entity in an xref ...
Post by: Daniel J. Ellis on March 02, 2010, 05:56:01 PM
Do you have access to the Express Tools

The NCOPY command allows an xref entity to be copied into the parent drawing.

dJE
Title: Re: Selecting an entity in an xref ...
Post by: CAB on March 03, 2010, 09:41:39 AM
None of >these< (http://www.theswamp.org/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8MiwxMXwifHNob3dfY29tcGxldGV8J3x8InxzdWJqZWN0X29ubHl8J3x8Inxzb3J0X2RpcnwnfGRlc2N8Inxzb3J0fCd8cmVsZXZhbmNlfCJ8c2VhcmNofCd8XCJjb3B5IHhyZWZcIg==) helped?
Title: Re: Selecting an entity in an xref ...
Post by: Hangman on March 03, 2010, 12:19:01 PM
None of >these< (http://www.theswamp.org/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8MiwxMXwifHNob3dfY29tcGxldGV8J3x8InxzdWJqZWN0X29ubHl8J3x8Inxzb3J0X2RpcnwnfGRlc2N8Inxzb3J0fCd8cmVsZXZhbmNlfCJ8c2VhcmNofCd8XCJjb3B5IHhyZWZcIg==) helped?


Yes, I did find some of these.  My IE was not working properly when I posted.  I haven't yet had a chance to read through them all but I did find what I was looking for.