| Library | File | Frames | Expand |
This descriptor does not support the Multi-CAD concept. Refer to Object Toolkit for Multi-CAD support.
| static pfcModelDescriptor_ptr | Create (pfcModelType Type, xrstring InstanceName, optional xrstring GenericName) | |
| Creates a new model descriptor. | ||
| static pfcModelDescriptor_ptr | CreateFromFileName (xrstring FileName) | |
| Creates a new model descriptor object, given a file name string. | ||
| xstring | GetDevice () | |
| void | SetDevice (xrstring value) | |
| The device. On UNIX systems, this field contains an empty string. If you change this value on a UNIX system, Creo Parametric may experience problems when reading or writing the file. | ||
| xstring | GetExtension () | |
| Retrieves the extension of the model identified by the model descriptor. | ||
| xstring | GetFileName () | |
| Returns the file name for the object represented by the model descriptor. | ||
| optional xint | GetFileVersion () | |
| void | SetFileVersion (optional xint value) | |
| The version of the file | ||
| xstring | GetFullName () | |
| Retrieves the full name of the model identified by the model descriptor. | ||
| optional xstring | GetGenericName () | |
| void | SetGenericName (optional xrstring value) | |
| The name of the generic model. If the model is not an instance, this attribute must be null or an empty string. | ||
| xstring | GetHost () | |
| void | SetHost (xrstring value) | |
| This is Obsoleted. The host. If the model resides on the local Windows or UNIX host, this field contains an empty string. If you change this value, Creo Parametric may experience problems when reading or writing the file. | ||
| xstring | GetInstanceName () | |
| void | SetInstanceName (xrstring value) | |
| The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty. | ||
| xstring | GetPath () | |
| void | SetPath (xrstring value) | |
| The path to the file. Note that this argument is ignored by the RetrieveModel method. | ||
| pfcModelType | GetType () | |
| void | SetType (pfcModelType value) | |
| The model type. If the model descriptor represents a Creo Parametric related file that is not a true model type, a pfcXUnusedValue exception will result if you try to access this value. | ||
| pfcModelType | GetType | () |
| void | SetType | (pfcModelType value) |
|
The model type. If the model descriptor represents a Creo Parametric related file that is not a true model type, a pfcXUnusedValue exception will result if you try to access this value.
|
| xstring | GetInstanceName | () |
| void | SetInstanceName | (xrstring value) |
|
The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty.
|
| optional xstring | GetGenericName | () |
| void | SetGenericName | (optional xrstring value) |
|
The name of the generic model. If the model is not an instance, this attribute must be null or an empty string.
|
| xstring | GetHost | () |
| void | SetHost | (xrstring value) |
|
This is Obsoleted. The host. If the model resides on the local Windows or UNIX host, this field contains an empty string. If you change this value, Creo Parametric may experience problems when reading or writing the file. |
| xstring | GetDevice | () |
| void | SetDevice | (xrstring value) |
|
The device. On UNIX systems, this field contains an empty string. If you change this value on a UNIX system, Creo Parametric may experience problems when reading or writing the file.
|
| xstring | GetPath | () |
| void | SetPath | (xrstring value) |
|
The path to the file. Note that this argument is ignored by the RetrieveModel method.
|
| optional xint | GetFileVersion | () |
| void | SetFileVersion | (optional xint value) |
|
The version of the file
|
| xstring | GetFullName | () |
|
Retrieves the full name of the model identified by the model descriptor.
|
| xstring | GetExtension | () |
|
Retrieves the extension of the model identified by the model descriptor. Model extension gives an extension of the file which stores the model information. Models of the same type have the same extension. The following model extensions are used:
|
| xstring | GetFileName | () |
|
Returns the file name for the object represented by the model descriptor.
|
| static pfcModelDescriptor_ptr | Create | (pfcModelType Type, xrstring InstanceName, optional xrstring GenericName) |
|
Creates a new model descriptor.
|
| static pfcModelDescriptor_ptr | CreateFromFileName | (xrstring FileName) |
|
Creates a new model descriptor object, given a file name string. Exceptions thrown (but not limited to): pfcXInvalidFileName - Invalid File Name
|