Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create UserFeature Outputs in SpecTree? 1

Status
Not open for further replies.

solid7

Mechanical
Jun 7, 2005
1,403
US
I have several working UDFs that have the UserFeature defined, and then, attached to the UserFeature, is what looks like an attribute. But it's actually an object that represents the output of the UserFeature. In my case, I want to know how I can create this output, so that my automation routine can grab the curve. (I morph the UserFeature several times, and return the output to a list)

Thanks in advance.

 
Replies continue below

Recommended for you

OK, I just answered my own question.

Double click the UserFeature, click "Change/Update Components", and go to the "Outputs" Tab. While there, you can select the piece of geometry that you want to be output, in addition to the main result. (which is the UserFeature) Mind you, it has to be one of the objects listed in the "Internal Components" window of the "Inputs" tab to be accepted. Seems a little redundant, but that's how it works.

 
so, do you want to create the UDF via a macro, or do you want to get hold of the (already present) UDF-output?...

regards,
LWolf
 
No, I have a Template that has a pre-instantiated UserFeature, which it uses to morph outputs ( replacement via ->SetAttributeObject() ), in lieu of functionality that I don't have availability to with EKL. I just needed to get ahold of the output from the UserFeature. The problem was that I didn't know how to define it as useable outputs in the UDF. But I have it now...

By default, the only outputs of a UserFeature from a UDF, is a UserFeature. But you can choose any of the "Internal Components" that are a resultant of your inputs, when defining outputs.

It was a just a silly oversight on my part.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top