Author Topic: inserting a block with attribute ...  (Read 834 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Swamp Rat
  • Posts: 724
inserting a block with attribute ...
« on: July 14, 2022, 03:11:35 AM »
when inserting a block with attribute ,
is there a way to make sure that
the attribute value is not asked
and that it is automatically assigned the default value?

Is there a system variable perhaps?

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: inserting a block with attribute ...
« Reply #1 on: July 14, 2022, 06:43:57 AM »
ATTREQ 0

ronjonp

  • Needs a day job
  • Posts: 7527
Re: inserting a block with attribute ...
« Reply #2 on: July 14, 2022, 12:30:28 PM »
Or use vla-insertblock
Code - Auto/Visual Lisp: [Select]
  1.   (vlax-3d-point '(0. 0. 0.))
  2.   "BLOCKNAME"
  3.   1.
  4.   1.
  5.   1.
  6.   0.
  7. )

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: inserting a block with attribute ...
« Reply #3 on: July 15, 2022, 12:03:48 AM »
Or use vla-insertblock
Code - Auto/Visual Lisp: [Select]
  1.   (vlax-3d-point '(0. 0. 0.))
  2.   "BLOCKNAME"
  3.   1.
  4.   1.
  5.   1.
  6.   0.
  7. )

ok ... thank you