| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| int | AddSheet
()
Adds a sheet to the model. |
| void | DeleteSheet
(int SheetNumber)
Removes a sheet from the model. |
| int | GetCurrentSheetNumber
()
Get method for attribute "CurrentSheetNumber" The current sheet number. |
| int | GetNumberOfSheets
()
Get method for attribute "NumberOfSheets" The number of sheets in the model. |
| View2D | GetSheetBackgroundView
(int SheetNumber)
Returns the background view for the given sheet. |
| /*optional*/ SheetData | GetSheetData
(int SheetNumber)
Returns information about the specified sheet. |
| /*optional*/ DrawingFormat | GetSheetFormat
(int SheetNumber)
Returns the drawing format used for the particular sheet. |
| ModelDescriptor | GetSheetFormatDescr
(int SheetNumber)
Returns the model descriptor of the drawing format used for the particular sheet. |
| /*optional*/ SheetInfo | GetSheetInfo
(int SheetNumber)
Returns information about the specified sheet. |
| double | GetSheetScale
(int SheetNumber,
/*optional*/
Model DrawingModel)
Returns the scale of the drawing on particular sheet. |
| Transform3D | GetSheetTransform
(int SheetNumber)
Returns the transformation matrix for the sheet. |
| Unit | GetSheetUnits
(int SheetNumber)
Returns the length units for the given sheet. |
| void | RegenerateSheet
(int SheetNumber)
Regenerates a specified sheet. |
| void | ReorderSheet
(int FromSheetNumber, int To)
Reorders the given sheet to a new sheet number. |
| void | SetCurrentSheetNumber
(int value)
Set method for attribute "CurrentSheetNumber" The current sheet number. |
| void | SetSheetFormat
(int SheetNumber, DrawingFormat Format,
/*optional*/
Integer FormatSheetNumber,
/*optional*/
Model DrawingModel)
Applies the specified format to a drawing sheet. |
| void | SetSheetScale
(int SheetNumber, double Scale,
/*optional*/
Model DrawingModel)
Sets the scale for a model on the sheet. |
| Method Detail |
|---|
| GetNumberOfSheets |
|---|
| int | GetNumberOfSheets | () |
The number of sheets in the model.
|
| GetCurrentSheetNumber/SetCurrentSheetNumber |
|---|
| int | GetCurrentSheetNumber | () |
| void | SetCurrentSheetNumber | (int value) |
The current sheet number.
|
| AddSheet |
|---|
| int | AddSheet | () |
| Adds a sheet to the model.
Exceptions thrown (but not limited to): XToolkitNotFound - The function failed because you do not have the required modules. XToolkitInvalidItem - The function did nothing because the model already has the maximum number of sheets allowed.
|
| ReorderSheet |
|---|
| void | ReorderSheet | (int FromSheetNumber, int To) |
| Reorders the given sheet to a new sheet number.
Reordering will cause other affected sheets to change their sheet numbers as well.
|
| GetSheetData |
|---|
| /*optional*/ SheetData | GetSheetData | (int SheetNumber) |
| Returns information about the specified sheet.
This method is deprecated. Use SheetOwner.GetSheetInfo(int) instead.
|
| GetSheetInfo |
|---|
| /*optional*/ SheetInfo | GetSheetInfo | (int SheetNumber) |
Returns information about the specified sheet.
|
| GetSheetTransform |
|---|
| Transform3D | GetSheetTransform | (int SheetNumber) |
Returns the transformation matrix for the sheet.
|
| RegenerateSheet |
|---|
| void | RegenerateSheet | (int SheetNumber) |
| Regenerates a specified sheet.
The sheet must be displayed.
|
| DeleteSheet |
|---|
| void | DeleteSheet | (int SheetNumber) |
| Removes a sheet from the model.
Exceptions thrown (but not limited to): XToolkitNotFound - The function failed because you do not have the required modules. XToolkitInvalidItem - The function did nothing because the specified sheet is not in the specified drawing. XToolkitDeadLock - The Creo Parametric user interface is not prepared to handle this request (because it is blocked by another process such as an OLE container activation).
|
| GetSheetScale |
|---|
| double | GetSheetScale | (int SheetNumber, /*optional*/ Model DrawingModel) |
Returns the scale of the drawing on particular sheet.
|
| SetSheetScale |
|---|
| void | SetSheetScale | (int SheetNumber, double Scale, /*optional*/ Model DrawingModel) |
Sets the scale for a model on the sheet.
|
| GetSheetFormat |
|---|
| /*optional*/ DrawingFormat | GetSheetFormat | (int SheetNumber) |
| Returns the drawing format used for the particular sheet.
Exceptions thrown (but not limited to): XToolkitNotFound - Format for the sheet was not found.
|
| SetSheetFormat |
|---|
| void | SetSheetFormat | (int SheetNumber, DrawingFormat Format, /*optional*/ Integer FormatSheetNumber, /*optional*/ Model DrawingModel) |
Applies the specified format to a drawing sheet.
|
| GetSheetBackgroundView |
|---|
| View2D | GetSheetBackgroundView | (int SheetNumber) |
| Returns the background view for the given sheet.
The sheet background view is used for the placement of items in the drawing without associating them to a particular model view.
|
| GetSheetUnits |
|---|
| Unit | GetSheetUnits | (int SheetNumber) |
Returns the length units for the given sheet.
|
| GetSheetFormatDescr |
|---|
| ModelDescriptor | GetSheetFormatDescr | (int SheetNumber) |
| Returns the model descriptor of the drawing format used for the particular sheet.
Exceptions thrown (but not limited to): XToolkitNotFound - Format for the sheet was not found.
|