Library | Package Java Toolkit

Class DrawingCreateOption

package com.ptc.pfc.pfcDrawing;

public class DrawingCreateOption
  implements jxenum



Description

This enumerated type contains options when creating a drawing from a template.
See Also:
BaseSession.CreateDrawingFromTemplate(String, String, ModelDescriptor, DrawingCreateOptions)



Field Summary
static final int_DRAWINGCREATE_DISPLAY_DRAWING
    Integer value of enum value "DRAWINGCREATE_DISPLAY_DRAWING"
    Display the drawing after creating it.
static final DrawingCreateOptionDRAWINGCREATE_DISPLAY_DRAWING
    Object value of enum value "DRAWINGCREATE_DISPLAY_DRAWING"
    Display the drawing after creating it.
static final int_DRAWINGCREATE_SHOW_ERROR_DIALOG
    Integer value of enum value "DRAWINGCREATE_SHOW_ERROR_DIALOG"
    Show the error dialog if drawing creation errors occur.
static final DrawingCreateOptionDRAWINGCREATE_SHOW_ERROR_DIALOG
    Object value of enum value "DRAWINGCREATE_SHOW_ERROR_DIALOG"
    Show the error dialog if drawing creation errors occur.
static final int_DRAWINGCREATE_WRITE_ERROR_FILE
    Integer value of enum value "DRAWINGCREATE_WRITE_ERROR_FILE"
    Write the error file if drawing creation errors occur.
static final DrawingCreateOptionDRAWINGCREATE_WRITE_ERROR_FILE
    Object value of enum value "DRAWINGCREATE_WRITE_ERROR_FILE"
    Write the error file if drawing creation errors occur.
static final int_DRAWINGCREATE_PROMPT_UNKNOWN_PARAMS
    Integer value of enum value "DRAWINGCREATE_PROMPT_UNKNOWN_PARAMS"
    Prompt the user for the model to use when evaluating parameters in the template that cannot be rectified.
static final DrawingCreateOptionDRAWINGCREATE_PROMPT_UNKNOWN_PARAMS
    Object value of enum value "DRAWINGCREATE_PROMPT_UNKNOWN_PARAMS"
    Prompt the user for the model to use when evaluating parameters in the template that cannot be rectified.
static final int_DrawingCreateOption_null
    Enum null value.

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


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


FromInt

static DrawingCreateOptionFromInt (Integer value)


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