60001173 Abitily to hide some vdPrimaries (vdBlocks, vdHatchStyles, vdLayers) from the VDF dialogs

Article 60001173
Type Wish
Product Engine
Version 6018
Date Added 6/23/2010 12:00:00 AM
Fixed (6/25/2010 12:00:00 AM)
Submitted by Marcelo Hosan

Summary

Is it possible to hide some vdPrimaries (vdBlocks, vdHatchStyles, vdLayers etc) from the VDF built in dialogs ?

Solution


The following property has been added to these vdPrimary objects : vdLayer , vdTextstyle , vdDimstyle , vdHatchpattern , vdBlock , vdImageDef , vdLinetype , vdGroup , vdXproperty , vdView , vdLayout.

Description : Get/Set a boolean value representing if the vdTextstyle will be viewed in Vectordraw forms.
Remarks : Default value is true.The ToString value of the vdTexstyles also takes consideration this value and if it is false then the count returned does not contain these items.
bool VisibleOnForms

So this property can be used to hide the above vdPrimary objects from VectorDraw default forms. For example in the layers dialog you can hide temporary layers or layers that you don't want to be shown.
Please note that this value is not saved in vdml format or any other export format so if a file is transfered in a different vectordraw application then these hidden primaries will be shown.
So this value should be used to specific application vdprimaries(specific reserved names) that will be initialized every time a file is created so even if a file is saved and reopened these hidden primaries will not be shown in VectorDraw dialogs.

Send comments on this topic.