Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Obtaining postview handle in CAE

Hello,

 

Is there another way to obtain the postviewhandle of a postview other than at creation?

 

Dim PostviewId As Int32
PostviewId = theSession.Post.CreatePostviewForResult(0, solutionResult1, False, resultParameters1)

 

Several other functions require this PostViewHandle as input, but I can only obtain it be creating a postview.

 

Thanks in advance

frederik

2 REPLIES
Solution
Solution
Accepted by topic author frvanhee
‎08-26-2015 04:32 AM

Re: Obtaining postview handle in CAE

Frederik,

 

If you are running NX 8.5.2 or later, you can use NXOpen.CAE.Post.GetPostviewIds(). Prior to that, the only way to get an Id was to create a Postview.

 

Regards,

Jim

 

Solution
Solution
Accepted by topic author frvanhee
‎08-26-2015 04:32 AM

Re: Obtaining postview handle in CAE

Thanks! This is a great help.