cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Pro/TOOLKIT - Function to delete a view ("ProViewDelete")

Pro/TOOLKIT - Function to delete a view ("ProViewDelete")

In terms of 3D Drawings, most funcitonal elements (Combined states, layers, cross-sections, exploded-states, styles) have the capability to add/remove/edit that element through the API in Pro/TOOLKIT. However, this does NOT exist for is for Views (orientations).

 

There exists a function to "ProViewStore" (aka, create a view), however there is no capability to then delete a view. This means that any desired model cleanup must be done manually. A function exists for 2D drawings (ProDrawingViewDelete), however this requires an input of "ProDrawing" and will not work for 3D assemblies.

 

Please create a function to delete a view (i.e, "ProViewDelete"), as well as to rename a view (i.e, "ProViewRename" or "ProViewNameSet"), to complete the functionality of the API, as it has been done for all the other functional elements of 3D drawings.

2 Comments
wbowling
3-Visitor

This is a significant oversight especially when the ability to create a view exists. It is unreasonable to ask a user to delete model views (orientations) to manage what was created by automation when the automation should take care of managing what it created.

PTCModerator
Emeritus
Status changed to: Archived