Method GetVisibilityStates
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetVisibilityStates()
Gets the visibility states of the dynamic block, as AutoCAD's Block Editor lists them in its Visibility State box: each by its name, in the order of the block's visibility parameter, with the entities of the block it shows, in the order the parameter lists them; read anew on each call.
public IReadOnlyList<DxfBlockVisibilityState> GetVisibilityStates()
Returns
- IReadOnlyList<DxfBlockVisibilityState>
The states; empty where the block has no visibility parameter. An entity no state lists is shown in every state, as the frame of a sign of the states Cross, Tick and Blank is; a handle the block has no entity of is passed over.
Remarks
The sign AddVisibilityParameter(string, string, GeoPoint3, IEnumerable<DxfBlockVisibilityState>) gave the states Cross (the cross), Tick (the tick) and Blank (nothing) reads back so; AutoCAD's Door - Metric sample reads Open 30º, Open 45º, Open 60º, Open 90º and Closed, four entities each.