Categories:

The input parameters: SPACING (required hole spacing)MINIMUM_OFFSET (minimum distance from the boundary)LENGTH (total length) The output parameters: NUMBER_OF_MEMBERS (number of members in Pattern feature)OFFSET (real offset from the boundary) Write into Relations: Tools/Relations… NUMBER_OF_MEMBERS=(floor(abs(LENGTH-(MINIMUM_OFFSET2))/SPACING))+1 OFFSET=abs((LENGTH-((NUMBER_OF_MEMBERS-1)SPACING))/2)

Categories:

Do you need to transform the Real Number Parameter to a String Parameter? It is easy with Relations: The input parameter: X=12.34567 (Real Number) The output parameter: Y=1.234 (String) Write into Relations: Tools>Relations… /* Number of DigitsND = […]

Categories:

If your file name (model name, assembly name) is combined with DRAWING_NUMBER and MODEL_NAME separated by underscore “_” (254-33-03-008_wheel.prt) you can write relations for divide this file name to two parameters: DRAWING_NUMBER = 254-33-03-008 MODEL_NAME = WHEEL Write […]