TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Coder on April 03, 2012, 07:16:39 AM

Title: Extract Dynamic Block 's properties
Post by: Coder on April 03, 2012, 07:16:39 AM
hello everyone .

is it possible to extract all properties of a dynamic block to the command line ?

Thank you .
Title: Re: Extract Dynamic Block 's properties
Post by: Stefan on April 03, 2012, 08:11:18 AM
LIST command will show you all  properties available for current VisibilityState.
Title: Re: Extract Dynamic Block 's properties
Post by: Coder on April 03, 2012, 08:15:21 AM
Thanks Stefan .

I want to get that by code and specifically the properties' names that are found in a dynamic block .
Title: Re: Extract Dynamic Block 's properties
Post by: alanjt on April 03, 2012, 08:20:00 AM
Code - Auto/Visual Lisp: [Select]
  1. (vla-GetDynamicBlockProperties <vla-object>)
or
Code - Auto/Visual Lisp: [Select]
  1. (vlax-invoke <vla-object> 'GetDynamicBlockProperties)
Title: Re: Extract Dynamic Block 's properties
Post by: Coder on April 03, 2012, 08:31:00 AM
Thank you so much alanjt  :-)

That's what I was after .

Thanks
Title: Re: Extract Dynamic Block 's properties
Post by: alanjt on April 03, 2012, 08:36:31 AM
No problem. Good luck.