PmiBody
-
class
PmiBody()
Constructors
Methods
_hasBits()_setVisibility()addAttribute()getAttributes()getAuthoredId()getAuthoredLayerId()getExchangeId()getGenericId()getGenericTypeId()getInstanceInc()getInstanceKey()getLocalTransform()getName()getParent()getRuntimeId()getUserData()getUserDataIndices()hasAuthoredId()hasLocalTransformOverride()hasModifiers()ignoreParentRotation()ignoreParentScale()isImplicitBody()isInitiallyShown()isLoaded()isOutOfHierarchy()isRequested()isVisible()markLoaded()overrideLocalTransform()preventFromResetting()removeLocalTransformOverride()setLocalTransformAsInitial()setRequested()setVisibility()parseBinary()reify()
Constructors
-
PmiBody.constructor(assemblyTree, masterModelKey, parent, info) Arguments: - assemblyTree (
IAssemblyTree()) – None - masterModelKey (
MasterModelKey()) – None - parent (PmiBodyParent) – None
- info (
AnyBodyInfo()) – None
Return type: - assemblyTree (
Properties
-
PmiBody.__BodyMixin Type: PhantomMember
-
PmiBody.__NodeMixin Type: PhantomMember
-
PmiBody.__PmiBody Type: PhantomMember
-
PmiBody._bits Type: NodeBits | AnyBodyBits
-
PmiBody._instanceKey Type: InstanceKey
-
PmiBody._modifiers Type: AnyBodyModifierBits
-
PmiBody._nodeId Type: AuthoredNodeId | DynamicNodeId
-
PmiBody.override Type: any
Methods
_hasBits
-
PmiBody._hasBits(bits) Arguments: - bits (NodeBits | AnyBodyBits) – None
Return type: boolean
_setVisibility
-
PmiBody._setVisibility(visible) Arguments: - visible (
boolean()) – None
Return type: void
- visible (
addAttribute
-
PmiBody.addAttribute(attr) Arguments: - attr (
Attribute()) – None
Return type: void
- attr (
getAttributes
-
PmiBody.getAttributes() Return type: Promise <[ Attribute()]>
getAuthoredId
-
PmiBody.getAuthoredId() Return type: AuthoredNodeId
getAuthoredLayerId
-
PmiBody.getAuthoredLayerId() Return type: AuthoredLayerId | null
getExchangeId
-
PmiBody.getExchangeId() Return type: ExchangeId | null
getGenericTypeId
-
PmiBody.getGenericTypeId() Return type: GenericTypeId | null
getParent
-
PmiBody.getParent() Return type: PmiBodyParent
getRuntimeId
-
PmiBody.getRuntimeId() Return type: RuntimeNodeId
getUserData
-
PmiBody.getUserData(index) Arguments: - index (UserDataIndex) – None
Return type: Uint8Array
getUserDataIndices
-
PmiBody.getUserDataIndices() Return type: [UserDataIndex]
overrideLocalTransform
-
PmiBody.overrideLocalTransform(matrix) Arguments: - matrix (
Matrix16()) – None
Return type: void
- matrix (
setLocalTransformAsInitial
-
PmiBody.setLocalTransformAsInitial(matrix) Arguments: - matrix (
Matrix16()) – None
Return type: void
- matrix (
setVisibility
-
PmiBody.setVisibility(visible) Arguments: - visible (
boolean()) – None
Return type: void
- visible (
static parseBinary
-
PmiBody.parseBinary(assemblyTree, inclusionContext, parser, forceHidden, config) Arguments: - assemblyTree (
IAssemblyTree()) – None - inclusionContext (
InclusionContext()) – None - parser (
AssemblyDataParser()) – None - forceHidden (
boolean()) – None - config (
LoadSubtreeConfig()) – None
Return type: - assemblyTree (
static reify
-
PmiBody.reify(assemblyTree, masterModelKey, parent, info) Arguments: - assemblyTree (
IAssemblyTree()) – None - masterModelKey (
MasterModelKey()) – None - parent (PmiBodyParent) – None
- info (PmiBodyInfo) – None
Return type: - assemblyTree (