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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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?

1 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

Top Tags