Main Content

pmit_set_refflexiblestatus

Set flexible status of CAD model

Syntax

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

With pmit_set_refflexiblestatus, you can set the flexible status of a CAD model referenced by an object of PmitCadModelRefH class.

Input Arguments

cadModelRefH

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

status

Integer flag indicating if the model is flexible or not. A value of 0 means the model is inflexible, or rigid. A value of 1 means the model is flexible, or nonrigid. More About.

More About

collapse all

Flexible Model

A flexible or nonrigid model is made of components that can move with respect to one another.

An inflexible or rigid model is made of components that cannot move with respect to one another.

Version History

Introduced in R2009b