engguser
Mechanical
- Apr 17, 2008
- 14
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
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