Professional Documents
Culture Documents
Taylor ay o Anderson de so NX Product Manager (DesignLogic, Knowledge Fusion and Validation) Wednesday, June 4th, 2008 UGS Connection Conference
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 2
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 3
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
This is actually not a new NX 6 thing This became possible at the same time as the new Expressions dialog (and more importantly, the introduction of Knowledge Fusion in the background behind model expressions) in NX 3.
..and we havent changed the syntax at all, so new functions move forward very reliably.
Page 4 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Demonstration
Page 5
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 6
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
First, this filename determines the category name in the Insert Function dialog. (If you put multiple functions in one file, they will appear under the same Category.)
Page 7
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Knowledge Fusion version statement (This needs to appear pp only y once, , and must be in the first line of the file.)
Page 8
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 9
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
States that this function SHOULD be visible to DesignLogic (should show up in expressions.) expressions ) If this equals no, then the function will only be visible to Knowledge Fusion.
Page 10
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
The #. .# syntax identifies the Description here. This description will be visible in the Insert Function dialog g
Page 11
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
The #. .# syntax identifies the Description here. ..and also in the Function Arguments dialog.
Page 12
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
These three lines are identifying the inputs to this function. Again, the #. .# syntax identifies text that will be displayed at the bottom of the Insert Function g dialog.
Page 13
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
These three lines are identifying the inputs to this function. and in the detailed Function Arguments g dialog. g
Page 14
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
The code inside the procedural block @{ } here is where the rubber hits the road. The three inputs are combined to create an output value
Page 15
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 16
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
and dt tell ll Knowledge Fusion to send back a floating point number. b (as opposed to a string or a vector, f instance.) for i t )
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 17
This comment is also automatically displayed in the Insert Function dialog describing dialog, the return value.
Page 18
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
and functions listed under the See Also: h di will heading ill populate the Related Functions button.
Page 19
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Another D Demonstration t ti
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software
Page 20
Thank you!
www.siemens.com/plm
2008. Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software