Click or drag to resize

Shield Class

An individual shield in a cable harness.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseShield
    ema3d.Api.V25.CablingShield

Namespace: ema3d.Api.V25.Cabling
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class Shield : APISimObjectBase<Shield>, 
	IAPICable, IAPISimObject, IHasRouting, IHasShieldDefinition, IHasCableDefinition

The Shield type exposes the following members.

Properties
 NameDescription
Public propertyDefinition Gets/Sets the definition of this shield
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyRouting The routing associated with a particular routed element.
Top
Methods
 NameDescription
Public methodStatic memberCreate Create a new Shield in the document.
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all Shield objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Shields can have child elements nested within their topology.
Example
Python
from ema3d.Api.V25.Cabling import Shield as Shield
# Get all Shields, access routing
_shields = Shield.GetAll()
_s1routing = _shields[0].Routing
See Also