PmiBody

class PmiBody()

Constructors


Constructors

PmiBody.constructor(assemblyTree, masterModelKey, parent, info)
Arguments:
Return type:

PmiBody()

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:
Return type:

boolean

_setVisibility

PmiBody._setVisibility(visible)
Arguments:
  • visible (boolean()) – None
Return type:

void

addAttribute

PmiBody.addAttribute(attr)
Arguments:
Return type:

void

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

getGenericId

PmiBody.getGenericId()
Return type:GenericId | null

getGenericTypeId

PmiBody.getGenericTypeId()
Return type:GenericTypeId | null

getInstanceInc

PmiBody.getInstanceInc()
Return type:InstanceIncs

getInstanceKey

PmiBody.getInstanceKey()
Return type:InstanceKey

getLocalTransform

PmiBody.getLocalTransform()
Return type:Matrix16 | null

getName

PmiBody.getName()
Return type:string

getParent

PmiBody.getParent()
Return type:PmiBodyParent

getRuntimeId

PmiBody.getRuntimeId()
Return type:RuntimeNodeId

getUserData

PmiBody.getUserData(index)
Arguments:
Return type:

Uint8Array

getUserDataIndices

PmiBody.getUserDataIndices()
Return type:[UserDataIndex]

hasAuthoredId

PmiBody.hasAuthoredId()
Return type:boolean

hasLocalTransformOverride

PmiBody.hasLocalTransformOverride()
Return type:boolean

hasModifiers

PmiBody.hasModifiers()
Return type:boolean

ignoreParentRotation

PmiBody.ignoreParentRotation()
Return type:boolean

ignoreParentScale

PmiBody.ignoreParentScale()
Return type:boolean

isImplicitBody

PmiBody.isImplicitBody()
Return type:boolean

isInitiallyShown

PmiBody.isInitiallyShown()
Return type:boolean

isLoaded

PmiBody.isLoaded()
Return type:boolean

isOutOfHierarchy

PmiBody.isOutOfHierarchy()
Return type:boolean

isRequested

PmiBody.isRequested()
Return type:boolean

isVisible

PmiBody.isVisible()
Return type:boolean

markLoaded

PmiBody.markLoaded()
Return type:void

overrideLocalTransform

PmiBody.overrideLocalTransform(matrix)
Arguments:
  • matrix (Matrix16()) – None
Return type:

void

preventFromResetting

PmiBody.preventFromResetting()
Return type:boolean

removeLocalTransformOverride

PmiBody.removeLocalTransformOverride()
Return type:void

setLocalTransformAsInitial

PmiBody.setLocalTransformAsInitial(matrix)
Arguments:
  • matrix (Matrix16()) – None
Return type:

void

setRequested

PmiBody.setRequested()
Return type:void

setVisibility

PmiBody.setVisibility(visible)
Arguments:
  • visible (boolean()) – None
Return type:

void

static parseBinary

PmiBody.parseBinary(assemblyTree, inclusionContext, parser, forceHidden, config)
Arguments:
Return type:

PmiBodyInfo

static reify

PmiBody.reify(assemblyTree, masterModelKey, parent, info)
Arguments:
Return type:

PmiBody()