Prod.: Engine, ver.: 6018, ID: 60001173, Wish : Abitily to hide some vdPrimaries (vdBlocks, vdHatchStyles, vdLayers) from the VDF dialogs

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

Article60001173
TypeWish
ProductEngine
Version6018
Date Added6/23/2010
FixedYes [6/25/2010]
Submitted byMarcelo Hosan
Keywords

Subject

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

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.