Change pos rep on drawing view

Change pos rep on drawing view

David-Truyens
Enthusiast Enthusiast
441 Views
2 Replies
Message 1 of 3

Change pos rep on drawing view

David-Truyens
Enthusiast
Enthusiast

Is there a way to select a pos rep when placing a view via the API?

 

Can't seem to find an official way (only design views do have an official api:  
oview.SetDesignViewRepresentation("test")

 

So why isn't that one available for PosReps? Any work arounds?

 

Thanks,

David

0 Likes
Accepted solutions (1)
442 Views
2 Replies
Replies (2)
Message 2 of 3

marcin_otręba
Advisor
Advisor
Accepted solution

oview.ActivePositionalRepresentation = "Open"

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 3 of 3

David-Truyens
Enthusiast
Enthusiast

That seems to work! I thought that was a property to check which pos rep was active. Didn't realize you could change it as well.

 

Thanks

0 Likes