Skip to main content
16-Pearl
August 16, 2018
Solved

UDF Orientation in Smart Assembly

  • August 16, 2018
  • 1 reply
  • 1827 views

Hi,

How to use the UDF_ORIENTATION in smart assembly? I have the UDF with two orientation

 

I've tried like this but not working. I don't know what I am missing. can someone help on this?

CREATE_UDF lib:Models\+&FEAT_UDF_NAME MDL_PART
        UDF_REF "csys" PART_CSYS
        UDF_DIM "distance_x" DIM_X
        UDF_DIM "distance_y" -DIM_Y1   
        UDF_EXP_REF NOTCH_PATTERN FEATURE 0
        UDF_ORIENTATION FLIP
        UDF_ORIENTATION NO_FLIP
    END_CREATE_UDF

 

I also tried with Interactive that also not working. I am getting error Unable to construct the feature. I usually get the same error in manual mode without FLIP the orientation. So that I concluded the Orientation FLIP not working on my program.

Best answer by jbeckley-2

Hi Parthiban,

 

This is a Toolkit bug that PTC has reported (see this PTC support page).

 

Until this is resolved in the Toolkit the UDF_ORIENTATION command is unstable. I would suggest that you may need to use interactive in this situation, or re-develop the UDF so that it doesn't require the flip.

1 reply

7-Bedrock
August 20, 2018

Hi Parthiban,

 

This is a Toolkit bug that PTC has reported (see this PTC support page).

 

Until this is resolved in the Toolkit the UDF_ORIENTATION command is unstable. I would suggest that you may need to use interactive in this situation, or re-develop the UDF so that it doesn't require the flip.