Creo Tutorials

Creo Tutorials

About the blog:

New Creo Parametric tutorials to showcase the new features, functions, configuration, renderings and animation with best practice, tips and tricks. You can find more on YouTube.com

How to create Nested Mapkey

Tips and TricksPosted by Ing. Vladimir Palffy Tue, December 06, 2016 10:14AM

You can Nest Mapkeys so that one mapkey initiates another. To nest a mapkey, include the mapkey name preceded by a percent sign (%) in the sequence of commands of the mapkey you are defining.

For example:

mapkey $F5 %rd;%qw;%er

About Mapkeys: a mapkey is a keyboard macro that maps frequently used command sequences to certain keyboard keys or sets of keys. You can define a unique key or combination of keys (for example F8, Q1, MP). The mapkeys you can save to configuration file.



  • Comments(0)//creo-tutorials.4kside.com/#post122

Divide file name to two parameters

Tips and TricksPosted by Ing. Vladimir Palffy Tue, December 06, 2016 10:12AM

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 into Relations: Tools>Relations...

DRAWING_NUMBER=EXTRACT(REL_MODEL_NAME,1,SEARCH(EXTRACT(REL_MODEL_NAME,1,(STRING_LENGTH(REL_MODEL_NAME))),"_")-1)


MODEL_NAME=EXTRACT(REL_MODEL_NAME,(SEARCH(REL_MODEL_NAME,"_")+1),((STRING_LENGTH(REL_MODEL_NAME))-(SEARCH(REL_MODEL_NAME,"_")+1)+1))



  • Comments(0)//creo-tutorials.4kside.com/#post121

Transcript of real numbers to string

Tips and TricksPosted by Ing. Vladimir Palffy Tue, December 06, 2016 10:11AM

Do you need transform Real Number Parameter to 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 Digits
ND = 3

/* Rounded Number
RN = FLOOR((X+(5/10^(ND+1))),ND)

/* String Output - No Leading Zero
Y = ITOS(FLOOR(RN))+"."+EXTRACT(ITOS((RN-FLOOR(RN)+1)*10^(ND)),2,ND)

* To get a zero before the decimal point for values less than one, a conditional statement is required:

/* String Output With Leading Zero

IF FLOOR(RN) == 0
Y = "0."+EXTRACT(ITOS((RN-FLOOR(RN)+1)*10^(ND)),2,ND)
ELSE
Y = ITOS(FLOOR(RN))+"."+EXTRACT(ITOS((RN-FLOOR(RN)+1)*10^(ND)),2,ND)
ENDIF

Special thanks to:
Tom Uminn





  • Comments(0)//creo-tutorials.4kside.com/#post120

MAC adress Reader - unique computer identification

Tips and TricksPosted by Ing. Vladimir Palffy Tue, December 06, 2016 10:10AM

Hi All.

Would you like to identify the MAC address of your LAN adapter?

Here is a small utility that will help you: MAC_Reader




  • Comments(0)//creo-tutorials.4kside.com/#post119

How to use 4K-app: MultiMapkey

Tips and TricksPosted by Ing. Vladimir Palffy Mon, December 05, 2016 10:41AM
Specify a list of ProE and Creo data and Modify this objects with the Mapkey function - Easy, Quickly, How you need it.


  • Comments(0)//creo-tutorials.4kside.com/#post79

Automatic dividing of Pattern feature with Parameters

Tips and TricksPosted by Ing. Vladimir Palffy Sun, December 04, 2016 11:09AM

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_OFFSET*2))/SPACING))+1
OFFSET=abs((LENGTH-((NUMBER_OF_MEMBERS-1)*SPACING))/2)







  • Comments(0)//creo-tutorials.4kside.com/#post37
« PreviousNext »