RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

164 Users Online (163 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Revit Building >> Technical Support >> Parameter names with dashes - problem with formula

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Aug 31, 2010 at 4:21:20 AM | Parameter names with dashes - problem with formula

#1

archie456


active

Joined: Mon, May 17, 2010
181 Posts
3 Stars: 1 Votes


Hi,

I've named a load of parameters in my project with the syntax parameter name - family type.

So for instance the Structural Width for a window would be: Structural Width - Window

That way I can easily understand what a shared parameter was intended for.

The problem I've just come across is that Revit will not accept a parameter name in a formula with a dash in it (as I think it sees it as a subtract function).

Am I correct on this?? Can I not use a parameter name with a dash in it?? (I hope not as it will cause me a load of abortive work...)


This user is offline

 

Tue, Aug 31, 2010 at 4:40:41 AM | Parameter names with dashes - problem with formula

#2

archie456


active

Joined: Mon, May 17, 2010
181 Posts
3 Stars: 1 Votes


OK, after a bit of searching, I came across an Australian web site that states 'Don't use formula symbols for Parameter names'.

 

curse!! Where the hell was the dialog box message warning me of this??? Who writes this product??

 

It also warns of using spaces - is this correct??

Can I use a colon in the name - i.e. Structural_Width:Windows

 

 


This user is offline

 

Tue, Aug 31, 2010 at 5:38:49 AM | Parameter names with dashes - problem with formula

#3

WWHub


site moderator|||

Joined: Tue, May 16, 2006
13079 Posts
3.5 Stars: 389 Votes


In your HELP it states: " Note It is recommended that you do not use a dash (-) when naming parameters.".  It also states: "Parameter names in formulas are case sensitive. For example, if a parameter name begins with a capital letter, such as Width, you must enter it in the formula with an initial capital letter. If you enter it in a formula using lower-case letters instead, for example, width * 2, the software will not recognize the formula. " in case you had not read this either. 

This user is offline

 

Tue, Aug 31, 2010 at 5:57:34 AM | Parameter names with dashes - problem with formula

#4

archie456


active

Joined: Mon, May 17, 2010
181 Posts
3 Stars: 1 Votes


OK, thanks for that.

I still think it would be very useful to warn the user at the time of creating a parameter when they have used a character which will not allow them to do something else in the future. I don't have help open everytime I do something.

Something for the wishlist I guess...


This user is offline

 

Tue, Aug 31, 2010 at 10:28:39 AM | Parameter names with dashes - problem with formula

#5

archie456


active

Joined: Mon, May 17, 2010
181 Posts
3 Stars: 1 Votes


Is it OK to use Underscore "_" character in a parameter name?

I checked the Help and internet and can find no reason why not...

 

Also, in a few places it stated that spaces should not be used - coudln't find out why though - Anyone know the answer to this??


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Invalid parameter names (sort of)

Revit Building >> Technical Support

Thu, Jun 28, 2012 at 5:40:26 AM

1

One family parameter has formula one has none

General Discussion >> Revit Project Management

Wed, Jun 25, 2014 at 1:05:54 PM

7

Parameter Formula

Revit Building >> Technical Support

Fri, Mar 5, 2010 at 12:09:09 PM

6

Parameter Problem

Revit Building >> Technical Support

Thu, Jul 30, 2009 at 6:57:57 PM

2

Formula - IF statement

Revit Building >> Technical Support

Wed, Oct 25, 2006 at 6:54:24 AM

0

Site Stats

Members:

1990506

Objects:

22877

Forum Posts:

152180

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 0.7235

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights