Main Content

pmit_get_reffixedstatus

Get fixed status of CAD model

Syntax

PmitError = pmit_get_reffixedstatus(int* fixedstatusOut, const PmitCadModelRefH cadModelRefH)

Description

Warning

This content is specific to Simscape™ Multibody™ First Generation software. First-generation features are slated to be deprecated and should be avoided.

PmitError = pmit_get_reffixedstatus(int* fixedstatusOut, const PmitCadModelRefH cadModelRefH) returns an error status PmitError.

With pmit_get_reffixedstatus, you can get the fixed status of a CAD model referenced by an object of PmitCadModelRefH class.

Input Arguments

cadModelRefH

Handle object of PmitCadModelRefH class referencing a CAD model in an API CAD model hierarchy

Output Arguments

fixedstatusOut

Integer flag indicating if the model is fixed or not. A value of 0 means the model is not fixed. A value of 1 means the model is fixed. See More About.

More About

collapse all

Fixed Model

A fixed model cannot move relative to the ground of the assembly model.

A nonfixed model can move relative to the ground of the assembly hierarchy.

Version History

Introduced in R2009b