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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

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

Mat
13-Aquamarine
13-Aquamarine

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
13-Aquamarine
13-Aquamarine
(To:Mat)

ok,

seems to be fixed in 5.0.6.0

View solution in original post

1 REPLY 1
Mat
13-Aquamarine
13-Aquamarine
(To:Mat)

ok,

seems to be fixed in 5.0.6.0

Announcements


Top Tags