Inventor General

Reply
Distinguished Contributor
Posts: 163
Registered: ‎08-21-2009
Message 1 of 9 (313 Views)
Accepted Solution

Parameter naming - single letter designations

313 Views, 8 Replies
03-21-2013 06:01 PM

Gentlemen, I have a question regarding parameter naming.

A good number of my parts are made to standards with different size classes. ( AS, MS, JIS etc )

In these parts the dimensions are given with a single letter designation ( A, B, C etc )

Unfortunately, Inventor does not allow some ( a good number actually ) letters to be used as a single digit parameter.

 

Is there a way around this?

Until now I've been using "DimA", "DimB" etc. but I'd like to find a way to use just A, B, C .... just as it is on the prints.

 

Thank You

 

 

Mentor
MegaJerk
Posts: 248
Registered: ‎01-26-2011
Message 2 of 9 (296 Views)

Re: Parameter naming - single letter designations

03-21-2013 08:01 PM in reply to: acad-caveman

I don't believe so, but as a compromise, you could create a form and label all of the inputs to your heart's desire. You could even set up a dummy picture of your print (that shows the corresponding labels) so that it's even easier to navigate. 

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

If my solution seems to remedy your problem, please press the Accept Solution button, -
as it increases my power levels and will eventually help to elevate me towards outer space.

Check out my iLogic injection tool here : http://goo.gl/ce1Qg
--------------------------------------------------------------------------------------
Distinguished Contributor
Posts: 163
Registered: ‎08-21-2009
Message 3 of 9 (291 Views)

Re: Parameter naming - single letter designations

03-21-2013 09:42 PM in reply to: MegaJerk

Thanks Mega... well... you know...

 

  It isn't as much as a visual thing, ecah part has it's own B/P with the actual dims and tolerances and the corresponding letter designation. I do this in ACAD.

I was more thinking to create a standard template part, and just whip up a new starting point just by plunking in the values into the parameter table to get the basic shape, edit only what's otherwise specified.

 

Not too big of a problem, but would have been nice to see exactly the same letters on the parameter table as it is in the standard's chart.

 

*Expert Elite*
Posts: 25,225
Registered: ‎04-20-2006
Message 4 of 9 (277 Views)

Re: Parameter naming - single letter designations

03-22-2013 02:01 AM in reply to: acad-caveman

Somewhere (in the Help) there is a list of reserved variable names that cannot be used.

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2014 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2014 Edu 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
Valued Mentor
stephengibson76
Posts: 1,060
Registered: ‎08-01-2006
Message 5 of 9 (272 Views)

Re: Parameter naming - single letter designations

03-22-2013 02:53 AM in reply to: acad-caveman

you could try embeding an excel table into your part template that has the correct notation an sheet 1 then link them to sheet 2 that inventor reads, parameters will still be called DimA etc but the initial input would be as required.  can add some pretty pictures to the excel front sheet as well.  Similar to using a form as suggested by megajerk

Stephen Gibson



View stephen gibson's profile on LinkedIn


*Expert Elite*
Posts: 1,020
Registered: ‎09-03-2008
Message 6 of 9 (237 Views)

Re: Parameter naming - single letter designations

03-22-2013 10:02 AM in reply to: acad-caveman

For these situations, I just put an underscore after the letter.  So instead of 'C' I would use 'C_'.  This allows you to use any letter for a parameter.

 

It's obviously not exactly the same thing, but it's the closest you can get.  The restricted ones are restricted for good reason--usually because the letter is used as a unit designation (e.g. 'C' is used as the unit for 'Coulomb').

 

-cwhetten

Please click "Accept as Solution" if this response answers your question.

Distinguished Contributor
Posts: 163
Registered: ‎08-21-2009
Message 7 of 9 (229 Views)

Re: Parameter naming - single letter designations

03-22-2013 10:42 AM in reply to: acad-caveman

Wow!

 

  You've actually found a character that would work with single letters!

Must tell you, the underscore has got to be the only one I didn't try, but it will work just fine.

I know that none of these work: !@#$%^&*(){}[] .....

Apparently I've missed the _..

 

Thank You!

 

 

*Expert Elite*
Posts: 1,020
Registered: ‎09-03-2008
Message 8 of 9 (220 Views)

Re: Parameter naming - single letter designations

03-22-2013 10:57 AM in reply to: acad-caveman

Oh no!  Hopefully you didn't spend too much time trying to find a character that will work, because the underscore _ is the ONLY character that is allowed in a parameter name.

 

Also note that the parameter name cannot start with an underscore.

 

Here are the rules for creating a user parameter in Inventor:

 

-The only valid characters are letters, numbers, and an underscore _ (spaces are not allowed).

-The parameter name must begin with a letter.

-Parameter names are case sensitive, so you could have a parameter called 'length' and also another parameter called 'Length'.  (I would advise against doing this, however, because I don't believe that iLogic can tell the difference between them).

-Certain names cannot be used because they are reserved by Inventor to mean specific things.  I can't seem to find the list that JD mentioned, but if your parameter name meets the above criteria and Inventor is still rejecting it, this is why.

 

-cwhetten

Contributor
Posts: 25
Registered: ‎07-16-2013
Message 9 of 9 (122 Views)

Re: Parameter naming - single letter designations

08-17-2013 03:51 AM in reply to: JDMather

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube