Skip to content

AssembledSubAssembly

Stephen S. Mitchell edited this page Sep 23, 2025 · 2 revisions

AssembledSubAssembly

← Back to Classes | Documentation Home | All Classes

  • 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

def GetConfiguration(name):
    """
    Gets a configuration with a specific name

    Args:
        name (str): Name of confguration

    Returns:
        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

def GetMappedOccurrence(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 part

    Args:
        assembly (AlibreX.IADAssemblySession): Assembly for occurrence structure

    Returns:
        Mapped occurrence or null if not found

    """

Clone this wiki locally