Forums
Forums >> Revit Building >> Technical Support >> RAC2009 Formula for Mirroring an Object?
|
|
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.
|
This user is offline |
|
![](images/spacer.gif) |
|
active
![dgcad Avatar](user_avatar/6183.jpg)
Joined: Thu, Mar 17, 2005
1231 Posts
![3.5 Stars: 36 Votes](/images/stars_3.5.gif) |
Hello Kevin, . I have a video tutorial on how to control family sub-component visibility with the yes / no parameter type. . . 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
|
![](images/spacer.gif) |
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 |
|
![](images/spacer.gif) |
active
![dgcad Avatar](user_avatar/6183.jpg)
Joined: Thu, Mar 17, 2005
1231 Posts
![3.5 Stars: 36 Votes](/images/stars_3.5.gif) |
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
|
![](images/spacer.gif) |
site moderator|||
![Mr Spot Avatar](user_avatar/1073.jpg)
Joined: Mon, Jan 12, 2004
2889 Posts
![4.5 Stars: 93 Votes](/images/stars_4.5.gif) |
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   B. Arch)
Xrev Revit API Addins | Revit Rants |
This user is offline |
View Website
|
![](images/spacer.gif) |
active
![dgcad Avatar](user_avatar/6183.jpg)
Joined: Thu, Mar 17, 2005
1231 Posts
![3.5 Stars: 36 Votes](/images/stars_3.5.gif) |
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
|
![](images/spacer.gif) |
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 |
|
![](images/spacer.gif) |
site moderator|||
![Mr Spot Avatar](user_avatar/1073.jpg)
Joined: Mon, Jan 12, 2004
2889 Posts
![4.5 Stars: 93 Votes](/images/stars_4.5.gif) |
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   B. Arch)
Xrev Revit API Addins | Revit Rants |
This user is offline |
View Website
|
![](images/spacer.gif) |
![](images/spacer.gif) |
Similar Threads |
Mirroring |
Revit Building >> Technical Support
|
Mon, Oct 14, 2013 at 4:28:29 PM
|
2
|
Formula to not exceed value in family |
Revit Building >> Technical Support
|
Tue, May 20, 2008 at 12:34:26 PM
|
6
|
Opening in Generic Model Standing seam roof |
Community >> Newbies
|
Mon, Aug 17, 2009 at 9:43:32 AM
|
0
|
Keyboard Issue RAC2009 |
Revit Building >> Technical Support
|
Wed, Jun 18, 2008 at 4:24:58 PM
|
5
|
Mirroring House model |
Revit Building >> Technical Support
|
Wed, Oct 27, 2004 at 4:33:14 PM
|
5
|
![](images/spacer.gif) |
|
Site Stats
Members: | 2022380 | Objects: | 22974 | Forum Posts: | 152201 | Job Listings: | 3 |
|