View Handling
- Last UpdatedNov 27, 2023
- 1 minute read
|
view_detail_new(act, component_handle) |
||
|
When a handle to a component is given, and create a detail view. |
||
|
Input Parameters: |
||
|
act |
integer |
Selects the type of component: 2 - Flange 3 - Stiffener 4 - Bracket 5 - Seam |
|
component_handle |
KcsElementHandle |
Handle to the component in the drawing. The component handle must be in a symbolic view. |
|
Returned value: |
||
|
ViewHandle |
Handle to the new view |
|
|
Exceptions: |
||
|
kcs_ArgumentError |
Invalid input parameters. |
|
|
kcs_DrawingNotCurrent |
There is no current drawing. |
|
|
kcs_ValueError |
component_handle is invalid |
|
|
view_symbolic_modify(ViewHandle, SymbolicViewOptions) |
||
|
This function will get all view options from an existing symbolic view and deliver them in a KcsInterpretationObject (Python object). |
||
|
Input Parameters: |
||
|
ViewHandle |
ElementHandle |
Handle to the view. |
|
Returned value: |
||
|
SymbolicViewOptions |
KcsInterpretationObject |
Instance of the "KcsInterpretationObject" object. The object will be filled with all the view options that were set when the view was created. |
|
Exceptions: |
||
|
kcs_InvalidView |
The given view is not a symbolic view or view data is missing. |
|
|
view_symbolic_recreate(ViewHandle) |
||
|
Recreate a symbolic view. |
||
|
Input Parameters: |
||
|
ViewHandle |
ElementHandle |
Handle to the view. |
|
Returned value: |
||
|
none |
||
|
Exceptions: |
||
|
kcs_ArgumentError |
The given view is not a symbolic view or view data is missing. |
|
|
kcs_DrawingNotCurrent |
There is no current drawing |
|
|
Examples: |
||
|
# Example: kcs_ex_hullpan04.py (view_detail_new) |
||