Wish : Dynamic Blocks of acad implementation
Article | 60001650 |
Type | Wish |
Product | Engine |
Version | 6021 |
Date Added | 3/20/2012 |
Fixed | Yes [6/26/2012] |
Submitted by | Tchouakeu 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:
- DYN_BLOCK_Origin_VALUE : contains the value of the property Origin
- DYN_BLOCK_Origin_SHOW : visible or not
- DYN_BLOCK_Origin_READONLY : read only or not
- DYN_BLOCK_Origin_DESCRIPTION : the description (text) of this property if exists