Jump to content

Recommended Posts

Posted

Hi

I would like to make lisp, that will draw line from point 0,0,0 to each block in the drawing.

I wrote following routine that gives me back the insertion point of each block.

 

(defun GetBasePoint( Entity )
 (setq Return (cdr (assoc 10 (entGet Entity))) )
 )

 

Problem is that this point is always in default (World) UCS, coordinate system.

If I am using different UCS, I would have to translate this point into current UCS.

 

But how?

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...