RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> Help with Parameter in Family

Search this ThreadSearch this Thread | Page 1 of 1 |

Fri, Nov 2, 2012 at 10:10:39 AM | Help with Parameter in Family

#1

BIMChimp


active

Joined: Wed, Jul 11, 2012
28 Posts
No Rating


Hello all,

 

I need help getting a parameter working.  I have a family that has a mfr model number in it that depends on the overall width of the family.  However that width is flexible.  Is there a way I can get the manufactur model type to reflect the width as text with additional text?

 

I.E.  When width = 30" the model number should be: 689-30  If the width changes to 40" then the model number should be 689-40.

 

Is there a way to do that?

 

Thanks,

LJ


This user is offline

 

Fri, Nov 2, 2012 at 10:48:32 AM | Help with Parameter in Family

#2

WWHub


site moderator|||

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


There are no text formulas in Revit .


This user is offline

 

Fri, Nov 2, 2012 at 11:00:20 AM | Help with Parameter in Family

#3

alfmedina


active
alfmedina Avatar

Joined: Wed, Sep 26, 2007
162 Posts
4 Stars: 8 Votes


Yes, it is possible.

model (text parameter)

width = length parameter

model = if(width = 30", "689-30", if(width = 40", "689-40", "none"))

But, it is more appropriate to handle this by types, otherwise, you end up with random lengths that do not generate a model number.


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

Planta1 Revit Online Consulting | info@planta1.com

This user is offline

View Website

Fri, Nov 2, 2012 at 11:02:42 AM | Help with Parameter in Family

#4

BIMChimp


active

Joined: Wed, Jul 11, 2012
28 Posts
No Rating


If the width is flexible I can easily add a parameter to reflect certain text dependant on the width.  '

I.E: if(Width = 29", if(Rear Access Panel, if(Right Hand, "689R29", "689L29"), if(Right Hand, "689R29FB", "689L29FB")), if(Width = 35", if(Rear Access Panel, if(Right Hand, "689R35", "689L35"), if(Right Hand, "689R35FB", "689L35FB")), if(Width = 41", if(Rear Access Panel, if(Right Hand, "689R41", "689L41"), if(Right Hand, "689R41FB", "689L41FB")), if(Width = 47", if(Rear Access Panel, if(Right Hand, "689R47", "689L47"), if(Right Hand, "689R47FB", "689L47FB")), "INVALID WIDTH"))))

That is actually dependant on three parameters (Width, Rear Access Panel, and Right Hand) in the family.  I just want to add the width number into the outcome of a similar formula.

 

That's not possible then?


This user is offline

 

Fri, Nov 2, 2012 at 11:05:15 AM | Help with Parameter in Family

#5

alfmedina


active
alfmedina Avatar

Joined: Wed, Sep 26, 2007
162 Posts
4 Stars: 8 Votes


I am saying, it is possible, as in my example, above.


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

Planta1 Revit Online Consulting | info@planta1.com

This user is offline

View Website

Fri, Nov 2, 2012 at 11:10:13 AM | alfmedina

#6

BIMChimp


active

Joined: Wed, Jul 11, 2012
28 Posts
No Rating


Quoting alfmedina from 2012-11-02 11:00:20

"

Yes, it is possible.

model (text parameter)

width = length parameter

model = if(width = 30", "689-30", if(width = 40", "689-40", "none"))

But, it is more appropriate to handle this by types, otherwise, you end up with random lengths that do not generate a model number.

"

Hey ALfmedina,

 

We were responding at the same time.  I have a similar equation that you suggested.  But you're right, it's tough when the width can be changed to anything.  The equation I just gave is actually from another model.  this current model will have a variable width that will not be consistant based on types.  But there's no way to reflect the width directly?  

 

Thanks,

LJ


This user is offline

 

Fri, Nov 2, 2012 at 11:36:48 AM | Help with Parameter in Family

#7

alfmedina


active
alfmedina Avatar

Joined: Wed, Sep 26, 2007
162 Posts
4 Stars: 8 Votes


If you are referring to concatenating any width value into the model text number, no. Only as shown in the example: if this length is this, this text is that. That is possible, concatenating, no.


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

Planta1 Revit Online Consulting | info@planta1.com

This user is offline

View Website

Fri, Nov 2, 2012 at 11:53:19 AM | Help with Parameter in Family

#8

BIMChimp


active

Joined: Wed, Jul 11, 2012
28 Posts
No Rating


That's what I was afraid of.

 

Ok thanks anyways guys,

LJ


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Add Family name to a shared parameter

Revit Building >> Technical Support

Tue, Jun 23, 2015 at 8:50:48 AM

2

<Family Type> parameter can't be controlled by formula. What else can we do? [ 1 2 ]

Revit Systems >> Technical Support

Tue, Aug 27, 2013 at 3:53:53 AM

29

Family with coordinate parameter? - Revit 2010

Revit Building >> Technical Support

Wed, May 12, 2010 at 3:45:58 AM

11

One family parameter has formula one has none

General Discussion >> Revit Project Management

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

7

top/base constraint as a parameter in family types

Revit Building >> Technical Support

Wed, Sep 9, 2009 at 4:49:38 PM

7

Site Stats

Members:

2057641

Objects:

23076

Forum Posts:

152250

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.9905

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights