Prod.: Engine, ver.: 6021, ID: 60001650, Wish : Dynamic Blocks of acad implementation

Wish : Dynamic Blocks of acad implementation

Article60001650
TypeWish
ProductEngine
Version6021
Date Added3/20/2012
FixedYes [6/26/2012]
Submitted byTchouakeu Fongue
Keywords

Subject

Dynamic Blocks of acad implementation

Summary

It is possible to add the ability to read the properties and values of blocks and block references of ACAD ?

Solution

In the 6023 version a new value ReadDynamicBlockProperties is available in FilePropertie's ImportDWGFlags properties. By default this value is AnalyzePolylineCurves so you need this to be changed in your application to AnalyzePolylineCurves + ReadDynamicBlockProperties. If this value is specified then the extra properties of dynamic blocks references are read and added as XProperties in the object.

These are added in tetrads with VALUE/SHOW/READONLY/DESCRIPTION for each dynamic property of this block.
For example a dynamic block/blockRef with a property with the name "Origin" can be read in the XProprties of the vdInsert like: