Jump to content

Recommended Posts

Posted

Hi guys

 

I want to get several strings from a column of a excel file, then use every string to find "Mtext" in a drawing with xref (acturaly the Mtext is in xref, I can find some lisp be able to find string in drawing, but excluding in xref. ). When one string be found in xref, I hope cad zoom to it, and call another fuction. After finished that fuction, lisp go to find next string.

 

Is there anybody can help me about that lisp? Thankyou very much.

Posted

You will need to iterate over the objects within the Block Definition of the XRef, then translate the object coordinates relative to the Block Definition geometry to the XRef Block Reference geometry so as to zoom to the correct point.

Posted
You will need to iterate over the objects within the Block Definition of the XRef, then translate the object coordinates relative to the Block Definition geometry to the XRef Block Reference geometry so as to zoom to the correct point.

 

 

Hi, Lee Mac

Thank you for your reply. I am a lisp learner, so could you please give me more details about trans the coordinates?

 

Thanks

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...