Showing results for 
Search instead for 
Do you mean 
Reply

Feature Callback function

Is there a way to call a function every time a feature is created in a part?

 

 

 

5 REPLIES

Re: Feature Callback function

You would have to look in the log file to figure out what "button" creates the feature type.

Then in Menuscript add a "post" action to that button.

The tricky bit will be if you need to have this set ONLY in modeling.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Feature Callback function

Yikes....I honestly have no idea where to go with that.
What would I even be looking for in the Log File?

Re: Feature Callback function

Creating a block is (I think)

&MACRO MENU, 0, UG_MODELING_BLOCK_FEATURE UG_GATEWAY_MAIN_MENUBAR <rbn_modeling_home.rtb->rbn_feature.grb->rbn_feature_more.gly->RECENTLY_USED::rbn_feature_more.gly> ## ! 

UG_MODELING_BLOCK_FEATURE

 

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Feature Callback function

Goodness....well I will see what I can find. Thank you.

Re: Feature Callback function

Menuscript is documented in the *API* documentation (not installed by default)

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled