Author Topic: How to set "Position X" and "Position Y" properties for a block.  (Read 1423 times)

0 Members and 1 Guest are viewing this topic.

Red Nova

  • Newt
  • Posts: 69
How to set "Position X" and "Position Y" properties for a block.
« on: December 19, 2017, 10:36:12 AM »
Silly of me, but I could not find a way to set "Position X" and "Position Y" properties for a block.  :?
I know of these functions, but could not find a way to set insertion coordinate.
BTW is there a full catalog of vla functions with descriptions?

(vla-put-xscalefactor
(vla-put-yscalefactor
(vla-put-zscalefactor
(vla-put-rotation
(vla-put-Color
(vla-put-Linetype
(vla-put-layer
(vla-put-linetypescale
(vla-put-lineweight

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1453
  • Marco
Re: How to set "Position X" and "Position Y" properties for a block.
« Reply #1 on: December 19, 2017, 11:22:41 AM »

IAcadBlock                  Origin
IAcadBlockReference InsertionPoint


(vla-put-Origin ...
(vla-put-InsertionPoint Obj (vlax-3D-point (list X Y Z)))




Red Nova

  • Newt
  • Posts: 69
Re: How to set "Position X" and "Position Y" properties for a block.
« Reply #2 on: December 19, 2017, 12:58:55 PM »
Thank you   :-)