I have a case where I have preexisting 3rd angle projected drawing views that need to be 1st angle
projection. I want to correct them using weblink or jlink. For example given the following weblink
code snippet (mostly snarfed from pfcDrawingExamples.js):
var session = pfcGetProESession();
var drawing = session.CurrentModel;
if (drawing.Type != pfcCreate ("pfcModelType").MDL_DRAWING)
throw new Error (0, "Current model is not a drawing");
var views = drawing.List2DViews();
for(i=0; i<views.count; i++)<br="/>{
var view = views.Item(i);
if (view.Name == "right_1")
{
//some magic webLink or jlink function to reorient 180 deg about the y axis
view.flip180AboutYAxis();
}
}
How would I do this "flip180AboutYAxis()" in weblink or jlink?
Thanks
--
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.