Library | Package Java Toolkit

Class CGMScaleType

package com.ptc.pfc.pfcModel;

public class CGMScaleType
  implements jxenum



Description

Enumeration that indicates whether a CGM export file should include abstract or metric units

For more information about exporting CGM files, refer to the Interface section of the Creo Parametric help.
See Also:
pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType), Model.Export(String, ExportInstructions)



Field Summary
static final int_EXPORT_CGM_ABSTRACT
    Integer value of enum value "EXPORT_CGM_ABSTRACT"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate abstract units.
static final CGMScaleTypeEXPORT_CGM_ABSTRACT
    Object value of enum value "EXPORT_CGM_ABSTRACT"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate abstract units.
static final int_EXPORT_CGM_METRIC
    Integer value of enum value "EXPORT_CGM_METRIC"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate metric units.
static final CGMScaleTypeEXPORT_CGM_METRIC
    Object value of enum value "EXPORT_CGM_METRIC"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate metric units.
static final int_CGMScaleType_null
    Enum null value.

Method Summary
static CGMScaleTypeFromInt (int value)
    Creates enum object from an integer.
static CGMScaleTypeFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static CGMScaleTypeFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static CGMScaleTypeFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.