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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Bug in WebLink? Function "ListViews()" does not work with combined views

Mat
15-Moonstone
15-Moonstone

Bug in WebLink? Function "ListViews()" does not work with combined views

Hi there,

 

I wrote a script that cycles through all Views of a model (Assembly or Part) and exports screenshots.

Works quite sweet. But there seems to be a problem with -at least- parts with combined views.

 

The function "ListViews()" does not work and throws an error "pfcExceptison::XToolkitInalidItem"

var mGlob = pfcCreate("MpfcCOMGlobal");
var oSession = mGlob.GetProESession();
var CurModel = oSession.CurrentModel;

CurModel.ListViews(); 

What's wrong?

ACCEPTED SOLUTION

Accepted Solutions
Mat
15-Moonstone
15-Moonstone
(To:Mat)

ok,

seems to be fixed in 5.0.6.0

View solution in original post

1 REPLY 1
Mat
15-Moonstone
15-Moonstone
(To:Mat)

ok,

seems to be fixed in 5.0.6.0

Announcements


Top Tags