Library | Package Java Toolkit

Interface DetailSymbolInstInstructions

package com.ptc.pfc.pfcDetail;

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



Description

This interface contains information used to describe a symbol instance. It may be used when creating symbol instances (DetailItemOwner.CreateDetailItem(DetailCreateInstructions)), or accessing existing groups (DetailSymbolInstItem.Modify(DetailSymbolInstInstructions) and DetailSymbolInstItem.GetInstructions(boolean)).
See Also:
DetailItemOwner.CreateDetailItem(DetailCreateInstructions), DetailItemOwner.GetDetailItem(DetailType, int), DetailItemOwner.ListDetailItems(/*optional*/ DetailType, /*optional*/ Integer), DetailItemOwner.RetrieveSymbolDefinition(String, /*optional*/ String, /*optional*/ Integer, /*optional*/ Boolean), pfcDetail.SymbolDefAttachment_Create(SymbolDefAttachmentType, Point3D), pfcDetail.DetailLeaders_Create(), pfcDetail.DetailVariantText_Create(String, String)



Method Summary
/*optional*/ DoubleGetAngle ()
    Get method for attribute "Angle"
    The angle at which the instance was placed. null represents a 0.0 degree angle.
/*optional*/ SymbolDefAttachmentTypeGetAttachOnDefType ()
    Get method for attribute "AttachOnDefType"
    The instance attachment type. null represents a free attachment.
/*optional*/ ColorRGBGetColor ()
    Get method for attribute "Color"
    The color of the detail item. If null, the default drawing color is used.
Transform3DGetCurrentTransform ()
    Get method for attribute "CurrentTransform"
    The coordinate transformation matrix for the symbol instance placement.
/*optional*/ SymbolDefAttachmentGetDefAttachment ()
    Get method for attribute "DefAttachment"
    The attachment on the symbol definition.
/*optional*/ DoubleGetHeight ()
    Get method for attribute "Height"
    The symbol instance height.
/*optional*/ DetailLeadersGetInstAttachment ()
    Get method for attribute "InstAttachment"
    The attachment of the instance, including leader information.
/*optional*/ BooleanGetIsDisplayed ()
    Get method for attribute "IsDisplayed"
    Whether or not the symbol instance is displayed.
/*optional*/ DoubleGetScaledHeight ()
    Get method for attribute "ScaledHeight"
    The symbol instance height in the units of the drawing or model, consistent with the values shown in the Properties dialog for the symbol instance.
DetailSymbolDefItemGetSymbolDef ()
    Get method for attribute "SymbolDef"
    The symbol definition used for the instance.
/*optional*/ DetailVariantTextsGetTextValues ()
    Get method for attribute "TextValues"
    Sequence of variant text values used while placing the symbol instance.
voidSetAngle ( /*optional*/ Double value)
    Set method for attribute "Angle"
    The angle at which the instance was placed. null represents a 0.0 degree angle.
voidSetAttachOnDefType ( /*optional*/ SymbolDefAttachmentType value)
    Set method for attribute "AttachOnDefType"
    The instance attachment type. null represents a free attachment.
voidSetColor ( /*optional*/ ColorRGB value)
    Set method for attribute "Color"
    The color of the detail item. If null, the default drawing color is used.
voidSetDefAttachment ( /*optional*/ SymbolDefAttachment value)
    Set method for attribute "DefAttachment"
    The attachment on the symbol definition.
voidSetGroups (DetailSymbolGroupOption option, /*optional*/ DetailSymbolGroups groups)
    Sets the option for displaying groups in the symbol instance.
voidSetHeight ( /*optional*/ Double value)
    Set method for attribute "Height"
    The symbol instance height.
voidSetInstAttachment ( /*optional*/ DetailLeaders value)
    Set method for attribute "InstAttachment"
    The attachment of the instance, including leader information.
voidSetIsDisplayed ( /*optional*/ Boolean value)
    Set method for attribute "IsDisplayed"
    Whether or not the symbol instance is displayed.
voidSetScaledHeight ( /*optional*/ Double value)
    Set method for attribute "ScaledHeight"
    The symbol instance height in the units of the drawing or model, consistent with the values shown in the Properties dialog for the symbol instance.
voidSetSymbolDef (DetailSymbolDefItem value)
    Set method for attribute "SymbolDef"
    The symbol definition used for the instance.
voidSetTextValues ( /*optional*/ DetailVariantTexts value)
    Set method for attribute "TextValues"
    Sequence of variant text values used while placing the symbol instance.

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

Method Detail

GetIsDisplayed/SetIsDisplayed

/*optional*/ BooleanGetIsDisplayed ()
voidSetIsDisplayed ( /*optional*/ Boolean value)


    Whether or not the symbol instance is displayed.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetColor/SetColor

/*optional*/ ColorRGBGetColor ()
voidSetColor ( /*optional*/ ColorRGB value)


    The color of the detail item. If null, the default drawing color is used.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetSymbolDef/SetSymbolDef

DetailSymbolDefItemGetSymbolDef ()
voidSetSymbolDef (DetailSymbolDefItem value)


    The symbol definition used for the instance.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetAttachOnDefType/SetAttachOnDefType

/*optional*/ SymbolDefAttachmentTypeGetAttachOnDefType ()
voidSetAttachOnDefType ( /*optional*/ SymbolDefAttachmentType value)


    The instance attachment type. null represents a free attachment.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetDefAttachment/SetDefAttachment

/*optional*/ SymbolDefAttachmentGetDefAttachment ()
voidSetDefAttachment ( /*optional*/ SymbolDefAttachment value)


    The attachment on the symbol definition.

Exceptions thrown (but not limited to):

XToolkitOutOfMemory - Not enough memory.

XToolkitNotFound - No symbol definition for the specified symbol instance.


Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetInstAttachment/SetInstAttachment

/*optional*/ DetailLeadersGetInstAttachment ()
voidSetInstAttachment ( /*optional*/ DetailLeaders value)


    The attachment of the instance, including leader information.

Exceptions thrown (but not limited to):

XToolkitOutOfMemory - Not enough memory.

XToolkitNotFound - No leaders were found.


Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetAngle/SetAngle

/*optional*/ DoubleGetAngle ()
voidSetAngle ( /*optional*/ Double value)


    The angle at which the instance was placed. null represents a 0.0 degree angle.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetHeight/SetHeight

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


    The symbol instance height.

This function does not consistently return a value capable of being related mathematically to the symbol height in drawing or model coordinates. Use DetailSymbolInstInstructions.GetScaledHeight(/*optional*/ Double) instead.



GetScaledHeight/SetScaledHeight

/*optional*/ DoubleGetScaledHeight ()
voidSetScaledHeight ( /*optional*/ Double value)


    The symbol instance height in the units of the drawing or model, consistent with the values shown in the Properties dialog for the symbol instance.

The scaled height is partially determined based on the properties of the symbol definition (see DetailSymbolInstInstructions.GetSymbolDef(DetailSymbolDefItem)). Changing the symbol definition may change how Creo Parametric calculates the symbol height based on the scaled height.

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 assigned or retrieved.


Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetTextValues/SetTextValues

/*optional*/ DetailVariantTextsGetTextValues ()
voidSetTextValues ( /*optional*/ DetailVariantTexts value)


    Sequence of variant text values used while placing the symbol instance.

Exceptions thrown (but not limited to):

XToolkitOutOfMemory - Not enough memory.

XToolkitNotFound - No variant text values were found.


Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



GetCurrentTransform

Transform3DGetCurrentTransform ()


    The coordinate transformation matrix for the symbol instance placement.
Manual References:
Drawings: Detail Symbol Instances, Drawings: Detail Symbol Instances



SetGroups

voidSetGroups (DetailSymbolGroupOption option, /*optional*/ DetailSymbolGroups groups)


    Sets the option for displaying groups in the symbol instance.
Manual References:
Drawings: Detail Symbol Instances
Parameters:
option
groups
Returns: