API Documentation > Interfaces > Interface DetailEntityInstructions
Interface DetailEntityInstructions

package com.ptc.pfc.pfcDetail;

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


Description
This interface contains information used to describe a detail entity item. It may be used when creating detail entities ( DetailItemOwner.CreateDetailItem(DetailCreateInstructions) and DetailSymbolDefItem.CreateDetailItem(DetailCreateInstructions)), or accessing existing entities ( DetailEntityItem.Modify(DetailEntityInstructions) and DetailEntityItem.GetInstructions()).
See Also:
Method Summary
/*optional*/ ColorRGB
Get method for attribute "Color"
The color of the detail item. Ifnull, the default drawing color is used.
/*optional*/ String
Get method for attribute "FontName"
The name of the linestyle. Ifnull, the default linestyle is used.
Get method for attribute "Geometry"
The geometry of the detail entity.
/*optional*/ Boolean
Get method for attribute "IsConstruction"
Whether or not the entity is construction. Ifnull, the entity is not a construction entity.
/*optional*/ View2D
Get method for attribute "View"
The drawing view associated with the entity. This can be a view of a drawing model, or a drawing sheet background view.
/*optional*/ Double
Get method for attribute "Width"
The width of the entity line. Ifnull, the default width is used.
void
SetColor ( /*optional*/ ColorRGB value)
Set method for attribute "Color"
The color of the detail item. Ifnull, the default drawing color is used.
void
SetFontName ( /*optional*/ String value)
Set method for attribute "FontName"
The name of the linestyle. Ifnull, the default linestyle is used.
void
Set method for attribute "Geometry"
The geometry of the detail entity.
void
SetIsConstruction ( /*optional*/ Boolean value)
Set method for attribute "IsConstruction"
Whether or not the entity is construction. Ifnull, the entity is not a construction entity.
void
SetView ( /*optional*/ View2D value)
Set method for attribute "View"
The drawing view associated with the entity. This can be a view of a drawing model, or a drawing sheet background view.
void
SetWidth ( /*optional*/ Double value)
Set method for attribute "Width"
The width of the entity line. Ifnull, the default width is used.
Methods Inherited from Interface com.ptc.pfc.pfcDetail.DetailCreateInstructions :
Method Detail
GetGeometry
GetGeometry
()
SetGeometry
void
SetGeometry
(CurveDescriptor value)
The geometry of the detail entity.
When creating a "circle" detail entity, use an arc with a start angle of 0 and an end angle of 2*PI. Creo Parametric represents circle detail entities with the ArcDescriptor object.
Manual References:
GetIsConstruction
/*optional*/ Boolean
GetIsConstruction
()
SetIsConstruction
void
SetIsConstruction
( /*optional*/ Boolean value)
Whether or not the entity is construction. If null, the entity is not a construction entity.
Manual References:
GetColor
/*optional*/ ColorRGB
GetColor
()
SetColor
void
SetColor
( /*optional*/ ColorRGB value)
The color of the detail item. If null, the default drawing color is used.
Manual References:
GetFontName
/*optional*/ String
GetFontName
()
SetFontName
void
SetFontName
( /*optional*/ String value)
The name of the linestyle. If null, the default linestyle is used.
Exceptions thrown (but not limited to):
XToolkitNotFound - No font name is specified.
Manual References:
GetWidth
/*optional*/ Double
GetWidth
()
SetWidth
void
SetWidth
( /*optional*/ Double value)
The width of the entity line. If null, the default width is used.
Manual References:
GetView
/*optional*/ View2D
GetView
()
SetView
void
SetView
( /*optional*/ View2D value)
The drawing view associated with the entity. This can be a view of a drawing model, or a drawing sheet background view.
Exceptions thrown (but not limited to):
XToolkitNotFound - The entity is not attached to a drawing view.
Manual References:
Was this helpful?