RevitCity.com Logo

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

Welcome !

1019 Users Online (61 Members): Show Users Online - Most ever was 3914 - Wed, Aug 26, 2026 at 4:53:14 AM

 

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
19889 Posts
3.5 Stars: 404 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

Create.NewFamilyInstance isn't displaying a new family on sheet

Community >> Newbies

Mon, May 9, 2011 at 1:06:22 PM

0

RevDev Studios - RevEx and RevXL - Spreadsheet plugins for Revit

Workflow & Implementation >> API & Third Party Apps

Tue, Feb 28, 2017 at 7:32:28 AM

0

Modelling terrain Revit imported from AutoCad

General Discussion >> Revit Project Management

Thu, Oct 20, 2011 at 9:29:49 AM

0

Door hardware Schedule

Revit Building >> Tips & Tricks

Fri, Dec 2, 2011 at 11:01:22 AM

1

Revit 2016 Annotative Demo Tag Formula

Revit Building >> Technical Support

Mon, Apr 25, 2016 at 2:30:59 PM

4

Site Stats

Members:

2174246

Objects:

23399

Forum Posts:

152397

Job Listings:

0

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights