You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen S. Mitchell edited this page Apr 25, 2026
·
3 revisions
Namespace: AlibreScript.API
Kind: Class
Properties
Configurations
Type: Object
A list of configurations defined on the assembly
Name
Type: Object
Name of the subassembly
Methods
GetConfiguration
Gets a configuration with a specific name
defGetConfiguration(name):
"""Gets a configuration with a specific nameArgs:name (str): Name of confgurationReturns:Configuration object"""
GetMappedOccurrence
Gets the occurrence of the sub-assembly mapped into the
occurrence structure of a specific assembly
This occurrence can be used to create constraints in the specific
sub-assembly using the part
defGetMappedOccurrence(assembly):
"""Gets the occurrence of the sub-assembly mapped into the occurrence structure of a specific assembly This occurrence can be used to create constraints in the specific sub-assembly using the partArgs:assembly (AlibreX.IADAssemblySession): Assembly for occurrence structureReturns:Mapped occurrence or null if not found"""