RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Tips & Tricks >> Trick for Offsetting Parameter Both Directions from Centerline

Search this ThreadSearch this Thread | Page 1 of 1 |

Wed, Aug 3, 2016 at 9:19:37 AM | Trick for Offsetting Parameter Both Directions from Centerline

#1

marmiketin1


active

Joined: Wed, Aug 19, 2015
0 Posts
4.5 Stars: 10 Votes


The problem is that with parameters you cannot use negative values.

I was trying to make a curtainwall mullion in which I could change the centerline position so that I could align specific edges of differing mullion sizes. Mullion profiles however do not have obvious top/bottom and left/right positions as the profiles follow the curtain grid which can be drawn in many directions. So in order to overcome the issue of not knowing which side of center I will need to offset before loading into my project and testing I created a simple way to accomplish both.

Start by drawing 2 reference planes left (or right) of the centerline. Then add a dimension from the centerline to the left most reference plane and make it a parameter labeled 'left offset'. Next add a second dimension from the left most reference plane to the remaining reference plane which should be to the right (this is important) and make it a parameter labeled 'right offset'.

Now you have two offset values which can be changed, one for the right and one for the left. If you set both to zero the object will be centered. If you change the left offset to 10 and keep the right offset at 0 the object will be offset 10 units to the left.

Hope this is helpful for some.



Attached Images

146620_Mullion_Offset.png

This user is offline

 

Thu, Aug 4, 2016 at 11:03:13 AM | Trick for Offsetting Parameter Both Directions from Centerline

#2

Shatner86


active
Shatner86 Avatar

Joined: Fri, Feb 24, 2012
2 Posts
5 Stars: 2 Votes


Hey Marmiketin1,

 

Thanks for the post! Would have been super handy for me a few years back when I first needed to do this. However there is one thing I did on top of this which I thought I’d staple onto this post.

 

Context: I work in FF&E and not curtain walling, so might be a bit different but the issue I have with "right" and "left" dimensions being editable is that they are open to abuse/confusion etc. from project environment users. So, I create a couple of small formulas to handle it.

 

Within your Centreline Offset parameters you create the following formulas:

 

if(Offset > 0 mm, Offset, 0 mm)

 

if(Offset < 0 mm, abs(Offset), 0 mm)

 

What the "abs" does is convert a NEGATIVE value into a positive. That way, if the user inputs a negative number/length, say -1200mm, the parameter/length/dimension constraint containing the formula with "abs" will accept and then convert the input. Thus, moving the object in the correct direction. With "-1200mm" being less than 0, the other dimension will ignore it and remain at 0.

 

Hope that makes sense.

 

Kind Regards,

 

Shatner86

 


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

"Try not to become a man of success, but rather to become a man of value"

-Albert Einstein

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Ceilings sloped in two directions?

Revit Building >> Technical Support

Thu, Nov 11, 2010 at 12:07:26 PM

6

Centerline Symbol in Text [ 1 2 ]

Revit Structure >> Technical Support

Wed, Jun 30, 2010 at 8:29:06 PM

19

Roof centerline

Revit Building >> Technical Support

Fri, Nov 7, 2008 at 1:53:57 PM

11

Grid Lines at Face of Steel, Not Centerline

Revit Structure >> Technical Support

Thu, Mar 19, 2015 at 3:16:30 PM

1

dimension to centerline of mullion

Revit Building >> Technical Support

Wed, Nov 13, 2013 at 12:19:56 PM

1

Site Stats

Members:

1987532

Objects:

22875

Forum Posts:

152177

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights