Declare variable
Declare variable
(OP)
I´m struggling with declaring variables for quiet some tiem. Someone showed me some months ago how to declare a variable and give a value to it and what I can remeber it has to do with notebook and layout. Unfortunately I can´t remember anything else and can´t figure it out.
What I intend to do is create a name which a value will be given. And this name I can use it in my part in the relations for example "mass=variable*5" And the "variable" should have been created somewhere and somehow with a given value.
I know that when I go to my part I need to go to "declare variable" and then in Notebook select the layout... But how can I create this layout?
Thanks a lott!!
Best regards,
Edna
What I intend to do is create a name which a value will be given. And this name I can use it in my part in the relations for example "mass=variable*5" And the "variable" should have been created somewhere and somehow with a given value.
I know that when I go to my part I need to go to "declare variable" and then in Notebook select the layout... But how can I create this layout?
Thanks a lott!!
Best regards,
Edna





RE: Declare variable
If it's in a single part, it is a parameter (under the Tools menu/tab).
If it's across multiple parts, you need the advanced assembly license to create a layout/Notebook.
Then create the parameter in the layout/Notebook (as in the single part).
Save the Notebook, and in the parts/assemblies you want to use the variable, Declare the layout to the part (Under Creo, the route is File - Manage File - Declare - Declare Ntbook).
RE: Declare variable
----------------------------------------
The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.