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

ProMdlUnitsystemCreate

unknown1
1-Newbie

ProMdlUnitsystemCreate

Can someone out there send me an example of using ProMdlUnitsystemCreate()? I'm using Wildfire 2.0 and crashing it when I execute that function. I think I'm incorrectly specifying the fourth parameter (ProUnititem *). I'm trying to create a custom unit system, say mm, g, and whatever for the remaining values (time and temperature). Am I approaching the correctly by calling ProMdlUnitsystemCreate(), or do I need to set up other things first?

I've been going through the documentation today and can't quite figure it out.

Thanks,

Dan


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.
1 REPLY 1

Thanks to PTC tech support for help with this. The documentation shows the fourth argument as ProUnititem *. That needs to be a ProArray of ProUnititems for the various unit names "mm", "g", etc.

Dan

Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration