TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: domenicomaria on July 14, 2022, 03:11:35 AM

Title: inserting a block with attribute ...
Post by: domenicomaria 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?
Title: Re: inserting a block with attribute ...
Post by: domenicomaria on July 14, 2022, 06:43:57 AM
ATTREQ 0
Title: Re: inserting a block with attribute ...
Post by: ronjonp 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. )
Title: Re: inserting a block with attribute ...
Post by: domenicomaria 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