RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> RAC2009 Formula for Mirroring an Object?

Search this ThreadSearch this Thread | Page 1 of 1 |

Thu, Sep 25, 2008 at 4:40:39 PM | RAC2009 Formula for Mirroring an Object?

#1

KevinKernaghan


active

Joined: Wed, Oct 4, 2006
24 Posts
No Rating


Today is my first day ever of playing with genuine parametric modeling and so far I have a fascia (circled in yellow in the attached picture) that has adjustable dimensions, but I want to include a yes/no switch to mirror it so that it can look like it's bigger brother in the picture.  I can't find anything in any of my user manuals or revit help files that discusses tying Revit commands into formulas (except for array). 

I have absolutely zero formula / programming experience and so I don't think I'm able to imagine formula potentials very well - but I have seen some of their results on this site and I don't want to be left behind on what is probably Revit's strongest attribute.

If anybody knows how to solve this problem or knows where I can find a handy online index/tutorial of basic programming syntax, I would much appreciate it.

 Thanks,

 Kevin

BONUS PROBLEM: Also if somebody knows how to get shape handles to appear on adjustable families in Revit (like our fascia friend here), please let me know.



Attached Images

45333_webfascia.JPG

This user is offline

 

Thu, Sep 25, 2008 at 6:30:01 PM | RAC2009 Formula for Mirroring an Object?

#2

dgcad


active
dgcad Avatar

Joined: Fri, Mar 18, 2005
1231 Posts
3.5 Stars: 35 Votes


Hello Kevin,
.
I have a video tutorial on how to control family sub-component visibility with the yes / no parameter type.
.
Go to this page and search for the word 'yes' > http://www.cadclips.com/TableOfContents.aspx 
.
Or you can just click on this link below:
.
I believe this is what you are looking for and it's alot easier than most people think to do this.
 


Edited on: Thu, Sep 25, 2008 at 1:31:26 PM

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

.

FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150

 

This user is offline

View Website

Thu, Sep 25, 2008 at 6:42:24 PM | RAC2009 Formula for Mirroring an Object?

#3

KevinKernaghan


active

Joined: Wed, Oct 4, 2006
24 Posts
No Rating


Great link and video! Thank you. I realized when watching it that I can probably link dimensions to other dimensions (on the "mirrored" side of the fascia) and then just control the visibility of that side.  I'm still not sure how to get the shape handles to appear in the model, but I think that the way I construct the extrusion on top of the reference lines has something to do with it.  I think I may have missed a few padlocks.

This user is offline

 

Thu, Sep 25, 2008 at 7:16:19 PM | RAC2009 Formula for Mirroring an Object?

#4

dgcad


active
dgcad Avatar

Joined: Fri, Mar 18, 2005
1231 Posts
3.5 Stars: 35 Votes


Yes, mirror it and then apply the yes/no to each side. Visibility - Right and Visibility - Left.
.
If you want the shape handles to work in the model:
.
1. Use reference planes
2. Make 'instance' parameters to constrain those reference planes via dimensions (length)
3. Then align the extrusion edges to those reference planes (no need to lock)
Shape handles should now work in the model.
.
No.1 mistake is making the parameters 'type' instead of 'instance'.

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

.

FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150

 

This user is offline

View Website

Fri, Sep 26, 2008 at 12:45:49 AM | RAC2009 Formula for Mirroring an Object?

#5

Mr Spot


site moderator|||
Mr Spot Avatar

Joined: Tue, Jan 13, 2004
2889 Posts
4.5 Stars: 93 Votes


Umm, yes all well and good, but it would be much easier to simply add a flip control to the family so you can just flip it as needed.  In your design bar simply add a control and place it in the ref. level of the family.

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

Regards,

Chris.

Co-Founder | BIM Consultant | Software Designer  CryingB. Arch)

Xrev Revit API Addins | Revit Rants

This user is offline

View Website

Mon, Sep 29, 2008 at 3:22:16 AM | RAC2009 Formula for Mirroring an Object?

#6

dgcad


active
dgcad Avatar

Joined: Fri, Mar 18, 2005
1231 Posts
3.5 Stars: 35 Votes


I don't think flipping is the answer. He want's to retain the original or have the option of having one side or the other or both. It's a gable end fascia condition. Outside of that the horizontal and vertical 'flip' controls is well worth mentioning.

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

.

FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150

 

This user is offline

View Website

Mon, Sep 29, 2008 at 9:37:31 PM | RAC2009 Formula for Mirroring an Object?

#7

KevinKernaghan


active

Joined: Wed, Oct 4, 2006
24 Posts
No Rating


I got it to work! (Actually, it was a few days ago, I just forgot to update the post)  Thanks to both of you for your help, especially you dgcad.

Pretty much it came down to using that visibility control to hide either the left or right half of a family that used the SAME dimensional parameter to control where the reference lines sat with the extrusion sketch on top of them.  Easy, huh?

Serious props to you guys for making sense out of an otherwise almost completely incomprehensible system (for someone who didn't read through the whole imperial tutorial)


This user is offline

 

Tue, Sep 30, 2008 at 2:04:19 AM | RAC2009 Formula for Mirroring an Object?

#8

Mr Spot


site moderator|||
Mr Spot Avatar

Joined: Tue, Jan 13, 2004
2889 Posts
4.5 Stars: 93 Votes


Oh okay so you mean showing all in the one family rather than having multiple components in the project?  Fair enough then.

That makes more sense.


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

Regards,

Chris.

Co-Founder | BIM Consultant | Software Designer  CryingB. Arch)

Xrev Revit API Addins | Revit Rants

This user is offline

View Website

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Mirroring

Revit Building >> Technical Support

Mon, Oct 14, 2013 at 9:28:29 PM

2

Formula to not exceed value in family

Revit Building >> Technical Support

Tue, May 20, 2008 at 5:34:26 PM

6

Opening in Generic Model Standing seam roof

Community >> Newbies

Mon, Aug 17, 2009 at 2:43:32 PM

0

Keyboard Issue RAC2009

Revit Building >> Technical Support

Wed, Jun 18, 2008 at 9:24:58 PM

5

Mirroring House model

Revit Building >> Technical Support

Wed, Oct 27, 2004 at 9:33:14 PM

5

Site Stats

Members:

1843228

Objects:

22620

Forum Posts:

152045

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights