60001965 A method to Synchronize Attributes of blocks and inserts

Article 60001965
Type Wish
Product Engine
Version 6025
Date Added 6/12/2013 12:00:00 AM
Fixed (6/12/2013 12:00:00 AM)
Submitted by VectorDraw

Summary

A method to Synchronize Attributes of blocks and inserts.

Solution

In version 6026 a new method has been added to the vdBlock object named AttributeSync.

summary> Synchronizes the attributes of all inserts already added to the Document.
returns>True if the operation was succesfull.
remarks> All the properties are being updated from the AttributeDefinition to the Attributes of the inserts.
The following proparties are being updated:
TagString,InVisibleMode,IsConstant,IsLockedPosition and also the properties of the vdFigure object.
public bool AttributeSync()

If you change a property to the Block's attribute then you can synchronize the attributes of the inserts that already have been added with this method. The strings of the attribute will not be reset.

Send comments on this topic.