| Library | Module | Frames | Expand |
This descriptor does not support the Multi-CAD concept. Refer to Object Toolkit for Multi-CAD support.
| string | Device | |
| 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. | ||
| /* optional */ number | FileVersion | |
| The version of the file | ||
| /* optional */ string | GenericName | |
| The name of the generic model. If the model is not an instance, this attribute must be null or an empty string. | ||
| string | Host | |
| 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. | ||
| string | InstanceName | |
| The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty. | ||
| string | Path | |
| The path to the file. Note that this argument is ignored by the RetrieveModel method. | ||
| pfcModelType | Type | |
| 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. | ||
| static pfcModelDescriptor | Create (pfcModelType Type, string InstanceName, /* optional */ string GenericName) | |
| Creates a new model descriptor. | ||
| static pfcModelDescriptor | CreateFromFileName (string FileName) | |
| Creates a new model descriptor object, given a file name string. | ||
| string | GetExtension () | |
| Retrieves the extension of the model identified by the model descriptor. | ||
| string | GetFileName () | |
| Returns the file name for the object represented by the model descriptor. | ||
| string | GetFullName () | |
| Retrieves the full name of the model identified by the model descriptor. | ||
| string | Device |
|
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. |
| /* optional */ number | FileVersion |
|
The version of the file |
| /* optional */ string | GenericName |
|
The name of the generic model. If the model is not an instance, this attribute must be null or an empty string. |
| string | Host |
|
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. |
| string | InstanceName |
|
The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty. |
| string | Path |
|
The path to the file. Note that this argument is ignored by the RetrieveModel method. |
| pfcModelType | Type |
|
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. |
| static pfcModelDescriptor | Create | (pfcModelType Type, string InstanceName, /* optional */ string GenericName) |
|
Creates a new model descriptor.
|
| static pfcModelDescriptor | CreateFromFileName | (string FileName) |
|
Creates a new model descriptor object, given a file name string. Exceptions thrown (but not limited to): pfcXInvalidFileName - Invalid File Name
|
| string | 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:
|
| string | GetFileName | () |
|
Returns the file name for the object represented by the model descriptor.
|
| string | GetFullName | () |
|
Retrieves the full name of the model identified by the model descriptor.
|