Main Content

shapes

Shapes

Since R2025a

    Description

    shp = shapes(partobj) returns all shape data of a part object.

    shp = shapes(partobj,compName) returns the shape data of a part object for a specified component name.

    Input Arguments

    collapse all

    The part object specified as a string.

    Example: shp = shapes(partobjname)

    Data Types: string

    Optional choice of component in the part specified as a string.

    Example: shp = shapes(partobjname,'U1') specifies the component name as 'U1'.

    Data Types: string

    Output Arguments

    collapse all

    Returns the component shapes of a part object

    Version History

    Introduced in R2025a