Interface ILayers
Gives access to parameter entities.
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 18, 0, 0)]
public interface ILayers
Remarks
This interface is available since v7.18.
Methods
| Name | Description |
|---|---|
| CreateLayer(DocumentId, string, int) | Creates a real parameter entity in a document. |
| GetLayer(DocumentId, ElementId) | Retrieves layer from an element. Returns Empty if no layer defined. |
| GetLayers(DocumentId) | Gets the parameters entities that are in the parameters folder of a document. |
| GetLayersFolder(DocumentId) | Gets the parameters folder entity of a document. |
| IsLayer(ElementId) | Tells whether an Element is a layer. |
| IsLayerFolder(ElementId) | Tells whether an Element is a layer folder. |
| IsShowable(ElementId) | Tells whether a parameter has a value. |
| SetLayer(ElementId, ElementId) | Sets the Layer of a document |