Visual LISP, AutoLISP and General Customization

Reply
Contributor
SonicSSV
Posts: 22
Registered: ‎06-30-2008
Message 1 of 1 (407 Views)

FLATSHOT Insertion Point

407 Views, 0 Replies
10-12-2012 04:06 PM

Hi All,

 

The insertion point of the block created by FLATSHOT seems to be the VIEWCTR (system variable) of

the current view.

But sometimes the insertion point of the FLATSHOT block seems to be random.

 

I believe that the TARGET system variable is offsetting the VIEWCTR insertion point calculated by

AutoCAD for the FLATSHOT block definition by the X,Y and Z components of the current value of

TARGET.

 

I've attached a small program for calculating the insertion point of the FLATSHOT block to insert it in the correct location.

It calculates the UCS insertion point from the current values of system variables UCSORG, VIEWCTR

and. TARGET.

 

I hope my logic is correct and it works for others.

 

Regards,

Trevor

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community