Library | Package Java Toolkit

Class DrawingCreateErrorType

package com.ptc.pfc.pfcExceptions;

public class DrawingCreateErrorType
  implements jxenum



Description

This enumerated type contains the type of drawing creation errors.
See Also:
XToolkitDrawingCreateErrors, BaseSession.CreateDrawingFromTemplate(String, String, ModelDescriptor, DrawingCreateOptions)



Field Summary
static final int_DWGCREATE_ERR_SAVED_VIEW_DOESNT_EXIST
    Integer value of enum value "DWGCREATE_ERR_SAVED_VIEW_DOESNT_EXIST"
    The saved view with the name specified does not exist.
static final DrawingCreateErrorTypeDWGCREATE_ERR_SAVED_VIEW_DOESNT_EXIST
    Object value of enum value "DWGCREATE_ERR_SAVED_VIEW_DOESNT_EXIST"
    The saved view with the name specified does not exist.
static final int_DWGCREATE_ERR_X_SEC_DOESNT_EXIST
    Integer value of enum value "DWGCREATE_ERR_X_SEC_DOESNT_EXIST"
    The designated cross section does not exist.
static final DrawingCreateErrorTypeDWGCREATE_ERR_X_SEC_DOESNT_EXIST
    Object value of enum value "DWGCREATE_ERR_X_SEC_DOESNT_EXIST"
    The designated cross section does not exist.
static final int_DWGCREATE_ERR_EXPLODE_DOESNT_EXIST
    Integer value of enum value "DWGCREATE_ERR_EXPLODE_DOESNT_EXIST"
    The named exploded state did not exist.
static final DrawingCreateErrorTypeDWGCREATE_ERR_EXPLODE_DOESNT_EXIST
    Object value of enum value "DWGCREATE_ERR_EXPLODE_DOESNT_EXIST"
    The named exploded state did not exist.
static final int_DWGCREATE_ERR_MODEL_NOT_EXPLODABLE
    Integer value of enum value "DWGCREATE_ERR_MODEL_NOT_EXPLODABLE"
    The model cannot be exploded, and the template calls for an exploded view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_MODEL_NOT_EXPLODABLE
    Object value of enum value "DWGCREATE_ERR_MODEL_NOT_EXPLODABLE"
    The model cannot be exploded, and the template calls for an exploded view.
static final int_DWGCREATE_ERR_SEC_NOT_PERP
    Integer value of enum value "DWGCREATE_ERR_SEC_NOT_PERP"
    The designated cross section was not perpendicular to the given view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_SEC_NOT_PERP
    Object value of enum value "DWGCREATE_ERR_SEC_NOT_PERP"
    The designated cross section was not perpendicular to the given view.
static final int_DWGCREATE_ERR_NO_RPT_REGIONS
    Integer value of enum value "DWGCREATE_ERR_NO_RPT_REGIONS"
     
static final DrawingCreateErrorTypeDWGCREATE_ERR_NO_RPT_REGIONS
    Object value of enum value "DWGCREATE_ERR_NO_RPT_REGIONS"
     
static final int_DWGCREATE_ERR_FIRST_REGION_USED
    Integer value of enum value "DWGCREATE_ERR_FIRST_REGION_USED"
    The repeat region was unable to use the region specified.
static final DrawingCreateErrorTypeDWGCREATE_ERR_FIRST_REGION_USED
    Object value of enum value "DWGCREATE_ERR_FIRST_REGION_USED"
    The repeat region was unable to use the region specified.
static final int_DWGCREATE_ERR_NOT_PROCESS_ASSEM
    Integer value of enum value "DWGCREATE_ERR_NOT_PROCESS_ASSEM"
    The model is not a process assembly, and the template calls for a process assembly view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_NOT_PROCESS_ASSEM
    Object value of enum value "DWGCREATE_ERR_NOT_PROCESS_ASSEM"
    The model is not a process assembly, and the template calls for a process assembly view.
static final int_DWGCREATE_ERR_NO_STEP_NUM
    Integer value of enum value "DWGCREATE_ERR_NO_STEP_NUM"
    The process step number indicated does not exist.
static final DrawingCreateErrorTypeDWGCREATE_ERR_NO_STEP_NUM
    Object value of enum value "DWGCREATE_ERR_NO_STEP_NUM"
    The process step number indicated does not exist.
static final int_DWGCREATE_ERR_TEMPLATE_USED
    Integer value of enum value "DWGCREATE_ERR_TEMPLATE_USED"
     
static final DrawingCreateErrorTypeDWGCREATE_ERR_TEMPLATE_USED
    Object value of enum value "DWGCREATE_ERR_TEMPLATE_USED"
     
static final int_DWGCREATE_ERR_NO_PARENT_VIEW_FOR_PROJ
    Integer value of enum value "DWGCREATE_ERR_NO_PARENT_VIEW_FOR_PROJ"
    There is no possible parent view for this projected view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_NO_PARENT_VIEW_FOR_PROJ
    Object value of enum value "DWGCREATE_ERR_NO_PARENT_VIEW_FOR_PROJ"
    There is no possible parent view for this projected view.
static final int_DWGCREATE_ERR_CANT_GET_PROJ_PARENT
    Integer value of enum value "DWGCREATE_ERR_CANT_GET_PROJ_PARENT"
    Could not get the projected parent for a drawing view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_CANT_GET_PROJ_PARENT
    Object value of enum value "DWGCREATE_ERR_CANT_GET_PROJ_PARENT"
    Could not get the projected parent for a drawing view.
static final int_DWGCREATE_ERR_SEC_NOT_PARALLEL
    Integer value of enum value "DWGCREATE_ERR_SEC_NOT_PARALLEL"
    The designated cross section was not parallel to the created view.
static final DrawingCreateErrorTypeDWGCREATE_ERR_SEC_NOT_PARALLEL
    Object value of enum value "DWGCREATE_ERR_SEC_NOT_PARALLEL"
    The designated cross section was not parallel to the created view.
static final int_DWGCREATE_ERR_SIMP_REP_DOESNT_EXIST
    Integer value of enum value "DWGCREATE_ERR_SIMP_REP_DOESNT_EXIST"
    The designated simplified rep does not exist.
static final DrawingCreateErrorTypeDWGCREATE_ERR_SIMP_REP_DOESNT_EXIST
    Object value of enum value "DWGCREATE_ERR_SIMP_REP_DOESNT_EXIST"
    The designated simplified rep does not exist.
static final int_DWGCRTERR_COMB_STATE_DOESNT_EXIST
    Integer value of enum value "DWGCRTERR_COMB_STATE_DOESNT_EXIST"
     
static final DrawingCreateErrorTypeDWGCRTERR_COMB_STATE_DOESNT_EXIST
    Object value of enum value "DWGCRTERR_COMB_STATE_DOESNT_EXIST"
     
static final int_DWGCRTERR_TOOL_DOESNT_EXIST
    Integer value of enum value "DWGCRTERR_TOOL_DOESNT_EXIST"
     
static final DrawingCreateErrorTypeDWGCRTERR_TOOL_DOESNT_EXIST
    Object value of enum value "DWGCRTERR_TOOL_DOESNT_EXIST"
     
static final int_DWGCRTERR_NOT_ALL_BALLOONS_CLEANED_WRN
    Integer value of enum value "DWGCRTERR_NOT_ALL_BALLOONS_CLEANED_WRN"
     
static final DrawingCreateErrorTypeDWGCRTERR_NOT_ALL_BALLOONS_CLEANED_WRN
    Object value of enum value "DWGCRTERR_NOT_ALL_BALLOONS_CLEANED_WRN"
     
static final int_DrawingCreateErrorType_null
    Enum null value.

Method Summary
static DrawingCreateErrorTypeFromInt (int value)
    Creates enum object from an integer.
static DrawingCreateErrorTypeFromInt (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 DrawingCreateErrorTypeFromInt (int value)


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


FromInt

static DrawingCreateErrorTypeFromInt (Integer value)


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