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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to select the Datum plane from Model Tree by Program itself instead if User Interactive Selection?

PARTHIBAN_K
15-Moonstone

How to select the Datum plane from Model Tree by Program itself instead if User Interactive Selection?

Hi All,

  I am planning to create the Extrude feature by Toolkit Program in predefined datum plane as reference. Since I know the plane exactly where would be the extrude. I won't like to make the user  to select the plane as user interaction method. So anybody let me know how to do this.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
1 ACCEPTED SOLUTION

Accepted Solutions

You will need to use the ProSelectionAlloc function. If you are working within a part model the ProAsmcomppath member (first argument) can be NULL.

To get the modelitem handle you can use either ProModelitemInit or ProModelitemByNameInit.

View solution in original post

2 REPLIES 2

You will need to use the ProSelectionAlloc function. If you are working within a part model the ProAsmcomppath member (first argument) can be NULL.

To get the modelitem handle you can use either ProModelitemInit or ProModelitemByNameInit.

Hi Gabriel,

I have utilized ProModelitemByNameInit.

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
Top Tags