Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I want to understand how difficult it would be to reproduce this functionality using the free version of JLink. Currently, we have some Smart Assembly licenses and use them for placing UDFs. How challenging would it be to achieve the same with JLink, so we can deploy to a larger group without relying on Smart Assembly licenses? Here is a sample bit of code that we use in Smart Assembly. Basically, it shows an image of what to select, and then the user makes a selection, which Smart Assembly uses to place the UDF.
MESSAGE_BOX_EX IMAGE lib:PIC\TC_00_0.GIF GENERAL "TOPCAP AXIS" "SELECT TUBE SURFACE" BUTTONS JUNK USER_SELECT SURFACE TUBE_SURFACE CREATE_UDF lib:udf\new_axis THIS UDF_GROUP UDF_REF TUBE_SURFACE TUBE_SURFACE END_CREATE_UDF GET_GROUP_FEATURE UDF_GROUP 1 GROUP_FEA SET_REF_NAME GROUP_FEA "SA_TOP_CAP_AXIS" UNGROUP_FEATURES UDF_GROUP SEARCH_MDL_REF EXCLUDE_INHERITED THIS AXIS "SA_TOP_CAP_AXIS" TOP_CAP_SPRING_AXIS
It depends... If you have programming experience and Java.
Nothing extra ordinary.
Creating Features from UDFs
Method Introduced: pfcSolid.Solid.CreateUDFGroup
...\Creo X.0.X.0\Common Files\otk_java_free\otk_java_appls\jlinkexamples\pfcUDFCreateExamples.java