Mike,
you will have to program the logic into the J-Link programs start method.
How to do this will depend on you use case. It could be a simple question
on the command line or a dialogbox. Maybe some automation looking at units
on the assembly where the part is used.
When the logic has decided the units, call the SetPrincipalUnits with the
appropriate parameters.
See the "Solid > Solid Units" section and the "Setting Up J-Link > Setting
Up a Synchronous J-Link Program > Setting Up a Model Program" in the WF4
J-Link APIWizard for full details.
Bjarne
Mike Henry <->
05-10-2009 21:57
Please respond to
Mike Henry <->
To
-
cc
Subject
[proecad] - RE: How can you change part units using parameters or
pro/program?
We are running wf2; the ?SetPrincipalUnits? seems to be a new wf4 command.
This dose sounds promising; could you give more details as to when the use
changes the parameter form inches to mm the jlink program know to change
the unit to metric?
-----End Original Message-----