| Library | Package | Frames | Expand | Java Toolkit |
This descriptor does not support the Multi-CAD concept. Refer to Object Toolkit for Multi-CAD support.
| Method Summary | |
|---|---|
| String | GetDevice
()
Get method for attribute "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. |
| 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. |
| /*optional*/ Integer | GetFileVersion
()
Get method for attribute "FileVersion" The version of the file |
| String | GetFullName
()
Retrieves the full name of the model identified by the model descriptor. |
| /*optional*/ String | GetGenericName
()
Get method for attribute "GenericName" The name of the generic model. If the model is not an instance, this attribute must be null or an empty string. |
| String | GetHost
()
Get method for attribute "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 | GetInstanceName
()
Get method for attribute "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 | GetPath
()
Get method for attribute "Path" The path to the file. Note that this argument is ignored by the RetrieveModel method. |
| ModelType | GetType
()
Get method for attribute "Type" The model type. If the model descriptor represents a Creo Parametric related file that is not a true model type, a XUnusedValue exception will result if you try to access this value. |
| void | SetDevice
(String value)
Set method for attribute "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. |
| void | SetFileVersion
(
/*optional*/
Integer value)
Set method for attribute "FileVersion" The version of the file |
| void | SetGenericName
(
/*optional*/
String value)
Set method for attribute "GenericName" The name of the generic model. If the model is not an instance, this attribute must be null or an empty string. |
| void | SetHost
(String value)
Set method for attribute "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. |
| void | SetInstanceName
(String value)
Set method for attribute "InstanceName" The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty. |
| void | SetPath
(String value)
Set method for attribute "Path" The path to the file. Note that this argument is ignored by the RetrieveModel method. |
| void | SetType
(ModelType value)
Set method for attribute "Type" The model type. If the model descriptor represents a Creo Parametric related file that is not a true model type, a XUnusedValue exception will result if you try to access this value. |
| Method Detail |
|---|
| GetType/SetType |
|---|
| ModelType | GetType | () |
| void | SetType | (ModelType value) |
The model type. If the model descriptor represents a Creo Parametric related file that is not a true model type, a XUnusedValue exception will result if you try to access this value.
|
| GetInstanceName/SetInstanceName |
|---|
| String | GetInstanceName | () |
| void | SetInstanceName | (String value) |
The name of the model, or, if the model is an instance, the instance name. This string can be neither null nor empty.
|
| GetGenericName/SetGenericName |
|---|
| /*optional*/ String | GetGenericName | () |
| void | SetGenericName | ( /*optional*/ String value) |
The name of the generic model. If the model is not an instance, this attribute must be null or an empty string.
|
| GetHost/SetHost |
|---|
| String | GetHost | () |
| void | SetHost | (String 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. |
| GetDevice/SetDevice |
|---|
| String | GetDevice | () |
| void | SetDevice | (String 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.
|
| GetPath/SetPath |
|---|
| String | GetPath | () |
| void | SetPath | (String value) |
The path to the file. Note that this argument is ignored by the RetrieveModel method.
|
| GetFileVersion/SetFileVersion |
|---|
| /*optional*/ Integer | GetFileVersion | () |
| void | SetFileVersion | ( /*optional*/ Integer value) |
The version of the file
|
| GetFullName |
|---|
| String | GetFullName | () |
Retrieves the full name of the model identified by the model descriptor.
|
| GetExtension |
|---|
| 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:
|
| GetFileName |
|---|
| String | GetFileName | () |
Returns the file name for the object represented by the model descriptor.
|