×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

UDO question

UDO question

UDO question

(OP)
Hi,

I am new to ufunc and has written a test program for testing UDOs.  Here is the script:

      UF_UDOBJ_create_class("Test UDO", "this is a test udo", &class_id);
        UF_UDOBJ_create_udo(class_id, &udo_tag);

        if (udo_tag != NULL_TAG)
        {
            UF_UDOBJ_add_doubles(udo_tag, 3, threeargs);
            UF_UDOBJ_ask_udo_data(udo_tag, &all_udo_data);
                        UF_UDOBJ_free_udo_data(&all_udo_data);
                }

I understand that the UDO is created by the above program and is a saved to the database by saving the part file.  How do I retrieve the saved UDO?

Thanks in Advance

Chari

RE: UDO question



 hi,

  Firstly you have to have your current code with the ufsta entry point and put the executable in the startup folder...

  Then in your ufusr application in which you would like to use...cycle with the classid, retrieve it and use...i think you have a better sample in the Open reference page for uf_udobj.h

 HariharanB

RE: UDO question

(OP)
Thanks HariharanB for the info.  I will try that one.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources