Shape type (TopoDS_Shape or pointer)
Document type (Handle_TDocStd_Document or pointer)
Shape type (TopoDS_Shape or pointer)
Document type (Handle_TDocStd_Document or pointer)
Optionalstructure: AssemblyStructureDef<T>OptionalexistingDocument: DOptionalsourceDocuments: D[]Assembly structure definition with parts and nodes
OptionalexistingOptional existing document handle to reuse. If provided and valid, the document will be cleared and updated instead of creating a new one. This is useful for updating an assembly without creating a new document each time.
OptionalsourceOptional array of source document handles referenced by structure.loadedParts entries
via sourceDocumentIndex. Typically these are documents previously loaded with
loadStepToDoc. Lifetime of source documents is the caller's responsibility — they are
not modified or deleted by buildAssemblyDocument.
DTO for building an assembly document. Returns a document handle that the caller manages.