Main Content

pmit_cadmodel_setfilename

Specify body geometry file name for handle object of PmitCadModelH class

Syntax

PmitError = pmit_cadmodel_setfilename(PmitCadModelH pmitCadModelH, const char* fileName)

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_cadmodel_setfilename(PmitCadModelH pmitCadModelH, const char* fileName) returns an error status PmitError.

With pmit_cadmodel_setfilename, specify the geometry body geometry file name for a handle object of PmitCadModelH class representing an API CAD model.

The body geometry file carries no units. This body geometry is interpreted with the units defined for the API session.

Input Arguments

pmitCadModelH

Handle object of PmitCadModelH class representing an API CAD model

fileName

String specifying body geometry file name

Version History

Introduced in R2009b