Library | Package Java Toolkit

Interface DetailSymbolDefInstructions

package com.ptc.pfc.pfcDetail;

public interface DetailSymbolDefInstructions
  extends com.ptc.pfc.pfcDetail.DetailCreateInstructions



Description

This interface contains information used to describe a symbol definition. It may be used when creating symbol definition (DetailItemOwner.CreateDetailItem(DetailCreateInstructions)), or accessing existing entities (DetailSymbolDefItem.Modify(DetailSymbolDefInstructions) and DetailSymbolDefItem.GetInstructions()).
See Also:
pfcDetail.SymbolDefAttachment_Create(SymbolDefAttachmentType, Point3D), pfcDetail.TextReference_Create(DetailNoteItem, int, int)



Method Summary
/*optional*/ SymbolDefAttachmentsGetAttachments ()
    Get method for attribute "Attachments"
    Sequence of possible instance attachment points for the symbol definition.
StringGetFullPath ()
    Get method for attribute "FullPath"
    The full path to the symbol definition file.
/*optional*/ BooleanGetHasElbow ()
    Get method for attribute "HasElbow"
    null or true if the symbol definition includes an elbow, false if not.
/*optional*/ DoubleGetHeight ()
    Get method for attribute "Height"
    The height value of the symbol definition.
/*optional*/ BooleanGetIsTextAngleFixed ()
    Get method for attribute "IsTextAngleFixed"
    null or true if the text angle is fixed, false if not.
StringGetName ()
    Get method for attribute "Name"
    The name of the symbol defintion.
/*optional*/ TextReferenceGetReference ()
    Get method for attribute "Reference"
    The text reference information, or null if unused.
doubleGetScaledHeight ()
    Get method for attribute "ScaledHeight"
    The symbol definition height in inches.
/*optional*/ SymbolDefHeightGetSymbolHeight ()
    Get method for attribute "SymbolHeight"
    The height type for the symbol definition.
voidSetAttachments ( /*optional*/ SymbolDefAttachments value)
    Set method for attribute "Attachments"
    Sequence of possible instance attachment points for the symbol definition.
voidSetFullPath (String value)
    Set method for attribute "FullPath"
    The full path to the symbol definition file.
voidSetHasElbow ( /*optional*/ Boolean value)
    Set method for attribute "HasElbow"
    null or true if the symbol definition includes an elbow, false if not.
voidSetHeight ( /*optional*/ Double value)
    Set method for attribute "Height"
    The height value of the symbol definition.
voidSetIsTextAngleFixed ( /*optional*/ Boolean value)
    Set method for attribute "IsTextAngleFixed"
    null or true if the text angle is fixed, false if not.
voidSetReference ( /*optional*/ TextReference value)
    Set method for attribute "Reference"
    The text reference information, or null if unused.
voidSetSymbolHeight ( /*optional*/ SymbolDefHeight value)
    Set method for attribute "SymbolHeight"
    The height type for the symbol definition.

Methods Inherited from Interface com.ptc.pfc.pfcDetail.DetailCreateInstructions
GetType, GetId

Method Detail

GetSymbolHeight/SetSymbolHeight

/*optional*/ SymbolDefHeightGetSymbolHeight ()
voidSetSymbolHeight ( /*optional*/ SymbolDefHeight value)


    The height type for the symbol definition.

Exceptions thrown (but not limited to):

XToolkitInvalidType - Invalid symbol definition height type.


Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetHasElbow/SetHasElbow

/*optional*/ BooleanGetHasElbow ()
voidSetHasElbow ( /*optional*/ Boolean value)


    null or true if the symbol definition includes an elbow, false if not.
Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetIsTextAngleFixed/SetIsTextAngleFixed

/*optional*/ BooleanGetIsTextAngleFixed ()
voidSetIsTextAngleFixed ( /*optional*/ Boolean value)


    null or true if the text angle is fixed, false if not.
Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetHeight/SetHeight

/*optional*/ DoubleGetHeight ()
voidSetHeight ( /*optional*/ Double value)


    The height value of the symbol definition.

This property does not consistently contain a value capable of being related mathematically to the symbol definition height in inches. Use DetailSymbolDefInstructions.GetScaledHeight() instead.



GetScaledHeight

doubleGetScaledHeight ()


    The symbol definition height in inches.

(Inches are always used for the units in the symbol definition).

Exceptions thrown (but not limited to):

XToolkitNotFound - The symbol definition assigned to this data was not yet initialized so the scaled value cannot be accurately retrieved.


Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetAttachments/SetAttachments

/*optional*/ SymbolDefAttachmentsGetAttachments ()
voidSetAttachments ( /*optional*/ SymbolDefAttachments value)


    Sequence of possible instance attachment points for the symbol definition.

Exceptions thrown (but not limited to):

XToolkitOutOfMemory - Number of attachments more than PRODTL_SYM_DEF_MAX_ATTACHES

XToolkitNotFound - No attachments were found.


Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetFullPath/SetFullPath

StringGetFullPath ()
voidSetFullPath (String value)


    The full path to the symbol definition file.

Exceptions thrown (but not limited to):

XToolkitNotFound - Symbol not found in session.


Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions



GetName

StringGetName ()


    The name of the symbol defintion.

Exceptions thrown (but not limited to):

XToolkitNotFound - Symbol not found in session.





GetReference/SetReference

/*optional*/ TextReferenceGetReference ()
voidSetReference ( /*optional*/ TextReference value)


    The text reference information, or null if unused.
Manual References:
Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions, Drawings: Detail Symbol Definitions