Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Posts: 24
Registered: ‎06-30-2008
Message 1 of 1 (438 Views)

FLATSHOT Insertion Point

438 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



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.




Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.