Skip to main content
1-Visitor
August 25, 2010
Question

UDP files for custom tool parameters - Solid Tool

  • August 25, 2010
  • 3 replies
  • 1654 views
HI folks!

I´m trying to use .xml UDP files along with the config.pro option mfg_custom_tool_param_file but although my UDP file seems to be correct, the new "User Defined" tab does not appear in the tool manager. I checked if I have the parameters properly set at the solid tool model and it´s there too...

Using WF3 M230...

Any ideas or examples you could share?

Thank you

Daniel

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.

3 replies

1-Visitor
August 25, 2010
Hi folks,

Forget it: I figured out what was wrong: XMLs are case sensitive and I
typed the data type as "Double" instead of "double'

To whom it may concern, please find attached an example of a udp xml
file: (PTC put this as a GIF picture on their help so that you cannot
simply copy and paste)


<mfgsetupdocument>
<doctype>PRO_NC_TOOL_SPECIAL_PARAM_DEFINITION</doctype>
<mfgtooludparamcollection>
<mfgtooludparam name="TOOL_ORIENTATION" datatype="double">
<description>Orientation of turning tool relative to
machine Z axis.</description>
<defvalue>270</defvalue>
<minvalue>0</minvalue>
<maxvalue>360</maxvalue>
</mfgtooludparam>
<mfgtooludparam name="MY_CUSTOM_PARAMETER" datatype="string">
<description>UDParam for PTCUser CAM</description>
<defvalue>PRONC_IS_AWESOME</defvalue>
<optionvalues>
<option>PRONC_IS_GREAT</option>
<option>PRONC_IS_GOOD</option>
<option>PRONC_SUCKS</option>
<option>PRONC_IS_AWESOME</option>
</optionvalues>
</mfgtooludparam>
</mfgtooludparamcollection>
</mfgsetupdocument>

The result:




A more comprehensive version containing Datatypes as integers, strings,
doubles:


<mfgsetupdocument>
<doctype>PRO_NC_TOOL_SPECIAL_PARAM_DEFINITION</doctype>
<mfgtooludparamcollection>
<mfgtooludparam name="OPEN_AREA_SCAN" datatype="string">
<description>Defines surface maching scan</description>
<defvalue>TYPE_3</defvalue>
<optionvalues>
<option>TYPE_3</option>
<option>FOLLOW_CONTOUR</option>
</optionvalues>
</mfgtooludparam>
<mfgtooludparam name="CLOSED_AREA_SCAN" datatype="string">
<description>Defines surface maching scan</description>
<defvalue>TYPE_SPIRAL</defvalue>
<optionvalues>
<option>TYPE_SPIRAL</option>
<option>CONSTANT_LOAD</option>
<option>FOLLOW_CONTOUR</option>
</optionvalues>
</mfgtooludparam>
<mfgtooludparam name="SPINDLE_SPEED" datatype="integer">
<description>Parameter defines spindle speed</description>
<defvalue>12000</defvalue>
<minvalue>3000</minvalue>
<maxvalue>100000</maxvalue>
</mfgtooludparam>
<mfgtooludparam name="MY_CUSTOM_PARAMETER" datatype="double">
<defvalue>100</defvalue>
<minvalue>10</minvalue>
<maxvalue>10</maxvalue>
</mfgtooludparam>
</mfgtooludparamcollection>
</mfgsetupdocument>

HTH

Daniel Santos
1-Visitor
August 25, 2010
This is the correct picture:




Daniel Santos

1-Visitor
August 25, 2010
PTC User send the first email after the second one... go figure out...
Daniel Santos