×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Declare variable

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

RE: Declare variable

What are you trying to do - create a variable in a single part, or create a variable to be used across multiple parts?

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

You can also use relations to create and manipulate parameters. If you create a parameter in the relations editor it will show up in the parameter tool but you won't be able to change it there as it's value is controlled by the relation. You can create relations at the section,part or assembly level.

----------------------------------------

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close