| Library | Module | Frames | Expand |
| Property | CurrentFont | as IpfcFont |
| The current font used for text graphics in Creo Parametric. | ||
| Property | CurrentGraphicsColor | as IpfcStdColor |
| The standard color used to display new graphics. | ||
| Property | CurrentGraphicsMode | as IpfcGraphicsMode |
| The mode used to display graphics (i.e. normal or complement). | ||
| Property | DefaultFont | as IpfcFont |
| The default font for this session of Creo Parametric. | ||
| Property | RotationAngle | as Double |
| The rotation angle of created text graphics (default is 0). | ||
| Property | SlantAngle | as Double |
| The slant angle of created text graphics (default is 0). | ||
| Property | TextHeight | as Double |
| The text height of created text graphics. | ||
| Property | WidthFactor | as Double |
| The width-to-height ratio for created text graphics. | ||
| Function | CreateDisplayList2D (Id as Long, Transform as IpfcScreenTransform, Action as IpfcDisplayListener) as IpfcDisplayList2D | |
| Creates a two-dimensional display list | ||
| Function | CreateDisplayList3D (Id as Long, Action as IpfcDisplayListener) as IpfcDisplayList3D | |
| Creates a three-dimensional display list entity | ||
| Sub | DrawArc2D (Center as IpfcPoint3D, Radius as Double, StartDirection as IpfcVector3D, EndDirection as IpfcVector3D) | |
| Draws an arc on the screen | ||
| Sub | DrawCircle (Center as IpfcPoint3D, Radius as Double) | |
| Draws a circle on the screen | ||
| Sub | DrawLine (Endpoint as IpfcPoint3D) | |
| Draws a line on the screen from the last pen position specified to the position specified by the Endpoint argument. The last pen position is specified using this same function previously times or by IpfcDisplay.SetPenPosition() | ||
| Sub | DrawPolygon2D (Vertices as IpfcPoint2Ds, FillColor as IpfcStdColor [optional]) | |
| Draws two-dimensional polygon on the screen. | ||
| Sub | DrawPolyline (Points as IpfcPoint3Ds) | |
| Draws a series of connected line segments on the screen. | ||
| Sub | DrawText2D (StartPoint as IpfcPoint3D, TextLine as String) | |
| Draws text on the screen | ||
| Function | GetFontById (Id as Long) as IpfcFont [optional] | |
| Creates a font object given a Creo Parametric font integer id. | ||
| Function | GetFontByName (Name as String) as IpfcFont [optional] | |
| Returns a font object given a Creo Parametric font name. | ||
| Sub | Invalidate (Model as IpfcModel) | |
| Invalidates the display list of the model singalling that a repaint is needed. | ||
| Sub | ResetTextAttributes () | |
| Resets the Creo Parametric text attributes to use the default settings | ||
| Sub | SetPenPosition (NewPosition as IpfcPoint3D) | |
| This method enables you to move to a point without producing any graphical output. This method is used when drawing lines using IpfcDisplay.DrawLine() | ||
| Property | CurrentFont | as IpfcFont |
|
The current font used for text graphics in Creo Parametric. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - This means either:
|
| Property | CurrentGraphicsColor | as IpfcStdColor |
|
The standard color used to display new graphics. Exceptions thrown (but not limited to): IpfcXToolkitNoChange - The current color is the same as the new color. |
| Property | CurrentGraphicsMode | as IpfcGraphicsMode |
|
The mode used to display graphics (i.e. normal or complement). |
| Property | DefaultFont | as IpfcFont |
|
The default font for this session of Creo Parametric. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The function could not find a font name for the specified font identifier. |
| Property | RotationAngle | as Double |
|
The rotation angle of created text graphics (default is 0). Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The attributes were not set. |
| Property | SlantAngle | as Double |
|
The slant angle of created text graphics (default is 0). Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The attributes were not set. |
| Property | TextHeight | as Double |
|
The text height of created text graphics. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The attributes were not set. |
| Property | WidthFactor | as Double |
|
The width-to-height ratio for created text graphics. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The attributes were not set. |
| Function | CreateDisplayList2D | (Id as Long, Transform as IpfcScreenTransform, Action as IpfcDisplayListener) as IpfcDisplayList2D |
|
Creates a two-dimensional display list Two dimensional display list operations in Creo Parametric are not currently supported. This method is reserved for future activation.
|
| Function | CreateDisplayList3D | (Id as Long, Action as IpfcDisplayListener) as IpfcDisplayList3D |
|
Creates a three-dimensional display list entity
|
| Sub | DrawArc2D | (Center as IpfcPoint3D, Radius as Double, StartDirection as IpfcVector3D, EndDirection as IpfcVector3D) |
|
Draws an arc on the screen All points are in logical screen cordinates
|
| Sub | DrawCircle | (Center as IpfcPoint3D, Radius as Double) |
|
Draws a circle on the screen Center point and orientation is in the coordinate system of the current object. For example, if the current object is a part, the point must be in the part's coordinate system. If the current object is an assembly, the point must be in the assembly's coordinate system. If the current object is a two dimensional model, circle will be normal to the screen.
|
| Sub | DrawLine | (Endpoint as IpfcPoint3D) |
|
Draws a line on the screen from the last pen position specified to the position specified by the Endpoint argument. The last pen position is specified using this same function previously times or by IpfcDisplay.SetPenPosition() These points are in the coordinate system of the current object. For example, if the current object is a part, the points must be in the part's coordinate system. If the current object is an assembly, the points must be in the assembly's coordinate system.
|
| Sub | DrawPolygon2D | (Vertices as IpfcPoint2Ds, FillColor as IpfcStdColor [optional]) |
|
Draws two-dimensional polygon on the screen. Exceptions thrown (but not limited to): IpfcXToolkitLineTooLong - You specified more than 100 points.
|
| Sub | DrawPolyline | (Points as IpfcPoint3Ds) |
|
Draws a series of connected line segments on the screen. These points are in the coordinate system of the current object. For example, if the current object is a part, the points must be in the part's coordinate system. If the current object is an assembly, the points must be in the assembly's coordinate system. The total number of points should be less than 200.
|
| Sub | DrawText2D | (StartPoint as IpfcPoint3D, TextLine as String) |
|
Draws text on the screen If no text attributes are set before this method call the program uses the default text attributes for Creo Parametric. Set the text attributes using the attributes on the IpfcDisplay object. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The font specified in a previous call to ProtText*CurrentSet() was not found.
|
| Function | GetFontById | (Id as Long) as IpfcFont [optional] |
|
Creates a font object given a Creo Parametric font integer id. The correspondance between font names and integer identifiers stays constant for a given Creo Parametric session, but may be different for different sessions. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The function could not find a font name for the specified font identifier.
|
| Function | GetFontByName | (Name as String) as IpfcFont [optional] |
|
Returns a font object given a Creo Parametric font name. The correspondance between font names and integer identifiers stays constant for a given Creo Parametric session, but may be different for different sessions. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The function could not find a font identifier for the specified font name.
|
| Sub | Invalidate | (Model as IpfcModel) |
|
Invalidates the display list of the model singalling that a repaint is needed. Exceptions thrown (but not limited to): IpfcXToolkitInvalidType - The specified model is not a part, assembly, or drawing. IpfcXToolkitNotExist - The function cannot find the window associated with the object.
|
| Sub | ResetTextAttributes | () |
|
Resets the Creo Parametric text attributes to use the default settings |
| Sub | SetPenPosition | (NewPosition as IpfcPoint3D) |
|
This method enables you to move to a point without producing any graphical output. This method is used when drawing lines using IpfcDisplay.DrawLine() This point is in the coordinate system of the current object. For example, if the current object is a part, the point must be in the part's coordinate system. If the current object is an assembly, the point must be in the assembly's coordinate system.
|