ScAttacher

class ScAttacher()

Properties


Properties

ScAttacher.__ScAttacher
Type:PhantomMember

Methods

attachByNamedScsBuffer

ScAttacher.attachByNamedScsBuffer(assemblyTree, modelName, remapper, toAttachData, inclusionMatrix, parentMeasurementUnit, attachInvisibly, xmlAttachInfo, cancelUnitMatrix, autoUnitScale)
Arguments:
Return type:

Promise <AttachInfo() | null>

clearAttachQueues

ScAttacher.clearAttachQueues()
Return type:Promise <void>

isIdle

ScAttacher.isIdle()
Return type:boolean

maxConcurrentAttachments

ScAttacher.maxConcurrentAttachments()
Return type:number

newAttachScope

ScAttacher.newAttachScope()
Return type:AttachScope

notifyDirectRequest

ScAttacher.notifyDirectRequest(node)
Arguments:
Return type:

void

registerXmlAttachInfo

ScAttacher.registerXmlAttachInfo(info)
Arguments:
Return type:

void

reprioritizeAttachmentsNow

ScAttacher.reprioritizeAttachmentsNow()
Return type:void

reset

ScAttacher.reset()
Return type:Promise <void>

setPrefetchScsCutoffScale

ScAttacher.setPrefetchScsCutoffScale(prefetchCutoffScale)
Arguments:
  • prefetchCutoffScale (number()) – None
Return type:

void

simpleAttach

ScAttacher.simpleAttach(assemblyTree, remapper, attachData, inclusionMatrix, parentMeasurementUnit, attachInvisibly, xmlAttachInfo, allowMissingModel)
Arguments:
  • assemblyTree (IAssemblyTree()) – None
  • remapper (ScKeyRemapper()) – None
  • attachData (ScsBuffer()) – None
  • inclusionMatrix (Matrix()) – None
  • parentMeasurementUnit (number()) – None
  • attachInvisibly (Lazy() <boolean>) – None
  • xmlAttachInfo (null()) – None
  • allowMissingModel (boolean()) – None
Return type:

Promise <AttachInfo()>

ScAttacher.simpleAttach(assemblyTree, remapper, attachData, inclusionMatrix, parentMeasurementUnit, attachInvisibly, xmlAttachInfo, allowMissingModel)
Arguments:
  • assemblyTree (IAssemblyTree()) – None
  • remapper (ScKeyRemapper()) – None
  • attachData (ScModelName()) – None
  • inclusionMatrix (Matrix()) – None
  • parentMeasurementUnit (number()) – None
  • attachInvisibly (Lazy() <boolean>) – None
  • xmlAttachInfo (XmlAttachInfo() | null) – None
  • allowMissingModel (boolean()) – None
Return type:

Promise <AttachInfo()>

ScAttacher.simpleAttach(assemblyTree, remapper, attachData, inclusionMatrix, parentMeasurementUnit, attachInvisibly, xmlAttachInfo, allowMissingModel)
Arguments:
  • assemblyTree (IAssemblyTree()) – None
  • remapper (ScKeyRemapper()) – None
  • attachData (AttachData) – None
  • inclusionMatrix (Matrix()) – None
  • parentMeasurementUnit (number()) – None
  • attachInvisibly (Lazy() <boolean>) – None
  • xmlAttachInfo (null()) – None
  • allowMissingModel (boolean()) – None
Return type:

Promise <AttachInfo()>

static createWithEmptyModel

ScAttacher.createWithEmptyModel(engine, view, callbackManager, maxConcurrentAttachments)
Arguments:
Return type:

Promise <ScAttacher()>