Author Topic: Extract Dynamic Block 's properties  (Read 3483 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 827
Extract Dynamic Block 's properties
« 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 .

Stefan

  • Bull Frog
  • Posts: 319
  • The most I miss IRL is the Undo button
Re: Extract Dynamic Block 's properties
« Reply #1 on: April 03, 2012, 08:11:18 AM »
LIST command will show you all  properties available for current VisibilityState.

Coder

  • Swamp Rat
  • Posts: 827
Re: Extract Dynamic Block 's properties
« Reply #2 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 .

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Extract Dynamic Block 's properties
« Reply #3 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)
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Coder

  • Swamp Rat
  • Posts: 827
Re: Extract Dynamic Block 's properties
« Reply #4 on: April 03, 2012, 08:31:00 AM »
Thank you so much alanjt  :-)

That's what I was after .

Thanks

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Extract Dynamic Block 's properties
« Reply #5 on: April 03, 2012, 08:36:31 AM »
No problem. Good luck.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox