Interface IElements
Gives access to elements.
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 6, 0, 0)]
public interface IElements
Remarks
This interface is available since v7.6.
Methods
| Name | Description |
|---|---|
| Delete(ElementId) | Deletes an element. |
| DeleteSeveral(List<ElementId>) | Deletes several elements. |
| Exists(ElementId) | Tells whether an element still exists. |
| GetColor(ElementId) | Gets the color of an element. |
| GetComment(ElementId) | Gets the comment of an element. |
| GetConstituents(ElementId) | Gets the constituent elements of a composite element. |
| GetDescription(ElementId) | Gets the description of an element. |
| GetElements(DocumentId) | Gets the elements of a document. |
| GetFriendlyName(ElementId) | Gets the friendly name of an element. |
| GetName(ElementId) | Gets the name of an element. |
| GetOwner(ElementId) | Gets the owner element of an element. |
| GetParent(ElementId) | Gets the parent operation of an element. |
| GetProperties(ElementId) | Gets the full names of the properties of an element. |
| GetPropertyBooleanValue(ElementId, string) | Gets the value of an element Boolean property. |
| GetPropertyDateTimeValue(ElementId, string) | Gets the value of an element date and time property. |
| GetPropertyIntegerValue(ElementId, string) | Gets the value of an element integer property. |
| GetPropertyLocalizedDomainName(ElementId, string) | Gets the localized domain name of an element property. |
| GetPropertyLocalizedName(ElementId, string) | Gets the localized name of an element property. |
| GetPropertyRealUnit(ElementId, string, out UnitType, out string) | Gets the unit of an element real property. |
| GetPropertyRealValue(ElementId, string) | Gets the value of an element real property. |
| GetPropertyTextValue(ElementId, string) | Gets the value of an element text property. |
| GetPropertyType(ElementId, string) | Gets the type of an element property. |
| GetTransparency(ElementId) | Gets the transparency of an element. |
| GetTypeFullName(ElementId) | Gets the full name of the type of an element. |
| GetTypeGuid(ElementId) | Gets the GUID of the type of an element. |
| HasColor(ElementId) | Tells whether an element has a color. |
| HasComment(ElementId) | Tells whether an element has a comment. |
| HasDescription(ElementId) | Tells whether an element has a description. |
| HasName(ElementId) | Tells whether an element has a name. |
| HasSystemName(ElementId) | Tells whether an element has a system name. |
| HasTransparency(ElementId) | Tells whether an element has a transparency. |
| HasUniqueName(ElementId) | Tells whether an element has a name that is unique in its document. |
| Hide(ElementId) | Hides an element. |
| IsAlive(ElementId) | Tells whether an element is alive. |
| IsColorModifiable(ElementId) | Tells whether the color of an element is modifiable. |
| IsDeletable(ElementId) | Tells whether an element may be deleted. |
| IsInvalid(ElementId) | Tells whether an element is invalid. |
| IsModifiable(ElementId) | Tells whether an element is modifiable. |
| IsRenamable(ElementId) | Tells whether the name of an element may be modified. |
| IsTransparencyModifiable(ElementId) | Tells whether the transparency of an element is modifiable. |
| IsVisible(ElementId) | Tells whether an element is visible. |
| SearchByName(DocumentId, string) | Searches for an element with a specified name in a document. |
| SetColor(ElementId, Color) | Sets the color of an element. |
| SetComment(ElementId, string) | Sets the comment of an element. |
| SetDescription(ElementId, string) | Sets the description of an element. |
| SetName(ElementId, string) | Sets the name of an element. |
| SetTransparency(ElementId, double) | Sets the transparency of an element. |
| Show(ElementId) | Shows an element. |