Main Content

pmit_set_reffixedstatus

Set fixed status of CAD model

Syntax

PmitError = pmit_set_reffixedstatus(PmitCadModelRefH cadModelRefH, int status)

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_set_reffixedstatus(PmitCadModelRefH cadModelRefH, int status) returns an error status PmitError.

With pmit_set_reffixedstatus, you can set 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

status

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. More About.

More About

collapse all

Fixed Model

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

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

Version History

Introduced in R2009b