cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining postview handle in CAE

Valued Contributor
Valued Contributor

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

Re: Obtaining postview handle in CAE

Siemens Phenom Siemens Phenom
Siemens Phenom

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

 

Re: Obtaining postview handle in CAE

Valued Contributor
Valued Contributor

Thanks! This is a great help.