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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Drawing View Type-General & Projection(Proe Wildfire 4)

shreeshail_lokh
1-Newbie

Drawing View Type-General & Projection(Proe Wildfire 4)

Hello All,


I have been trying to figure out the view type in proe drawing.I managed to segregate detailed & section views using the note associated with the view.However I coudnt find out any way to detect if the view is of type 'general' or 'projection'.If anybody has any idea on how to do this will be of great help.In case its not possible to do such classification please let me know.


Thanks in Advance,


Regards,
Shreeshail Lokhande.



This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Shreeshail,
If you have a handle to the drawing view (ProView) you can simply call ProDrawingViewTypeGet() and analyze the type output variable. This is from the Creo Elements/Pro 5.0 documentation.

Function ProDrawingViewTypeGet

Description


Get view type

Synopsis

#include <prodrawingview.h<prodrawingview_h.html>>

ProError<protoolkiterrors_h.html#proerror>

ProDrawingViewTypeGet

(


ProDrawing<proobjects_h.html#prodrawing> drawing


/* (In)


Drawing handle


*/


ProView<proview_h.html#proview> view


/* (In)


The view handle


*/


ProViewType<prodrawingview_h.html#proviewtype>* type


/* (Out)


view type (General, projection, detailed, auxiliary, revolved, copy and align, of flat ply)


*/

)



Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image001.jpg@01CDCB0F.006F6220]
Top Tags