|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
49 Users Online (47 Members):
Show Users Online
- Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM |
Forums
Forums >> Revit Building >> Technical Support >> query
|
|
active
Joined: Mon, Mar 28, 2011
14 Posts No Rating |
Anybody knows what's wrong with this model when i turn Switch slot3 under y/n parameters, it doesnt work.
I want the W-benchtop exactly 3605 for that if you check in the formula.
|
This user is offline |
|
|
|
active
Joined: Mon, Jul 30, 2012
107 Posts
|
it does not work because in your formula sqitch slot4 has priority!
your query is the same as this:
if switchslot 4 = true then
4805mm
ELSE <<<<<<
if switch slot 3 ........
endif
you must decide wich one has the priority!
try to explain exactly what you want..
-----------------------------------
Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381 |
This user is offline |
|
|
active
Joined: Mon, Jul 30, 2012
107 Posts
|
you PROBABLY want it like this:
w-bencthop formula:
if(Switch slot2, 2405 mm, if(Switch slot3, 3605 mm, if(Switch slot4, 4805 mm, 1205 mm)))
if its not what you want plese try to explain and i will try to help you out if i can..
-----------------------------------
Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381 |
This user is offline |
|
|
active
Joined: Mon, Jul 30, 2012
107 Posts
|
i would make it like the attached file.
look at the "Nr. of slots" variable. ATTENTION: i messed up the file a little bit in the hurry, do not use this file! use it just as example and work on your original file!
-----------------------------------
Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381 |
This user is offline |
|
|
active
Joined: Mon, Mar 28, 2011
14 Posts No Rating |
Hi frifer, thanks alot for the help....
I tried it but some of the boxes are visible when no. of slots is between 1 to 3. it works fine with 4 no. of slots.
i think its great idea to have no. of slots and i want them between 1 to 4.
if no. of slot =1 --> 2,3 and 4 should be off.
2 --> 3 and 4 should be off.
3 --> 4 should be off.
4 --> nothing should be off.
(each slot includes a rangehood cabinet and oven box)
And these are the length of benchtop:
if no. of slot= 1 --> w-benchtop 1205mm
2 --> w-benchtop 2405mm
3 --> w-benchtop 3605mm
4 --> w-benchtop 4805mm
Check the file attached and please point out my mistake...
Thanks again,
Kind Regards
Vidhi
|
This user is offline |
|
|
active
Joined: Mon, Jul 30, 2012
107 Posts
|
hi!
i see only one formula in your file! where is the part that disables slots 2/3/4?
-----------------------------------
Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381 |
This user is offline |
|
|
active
Joined: Mon, Jul 30, 2012
107 Posts
|
since i do not totally understand how you modelled yours (sorry i am a very beginner, started 2 weeks ago with revit) i modelled a very simple example of how i would do it. there are a lot of quotes missing, i made it up very quickly. when you change the number of slots some of them become gray (invisible when loaded in the project) and the topbench length adapts to the total length.
the formulas should be usable for you..
hope it helps you. in your file there are some problems with alignments, maybe some are wrong?
check them out!
regards
igor
-----------------------------------
Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381 |
This user is offline |
|
|
|
Similar Threads |
stair query |
Community >> Newbies
|
Tue, Aug 25, 2009 at 11:59:43 AM
|
1
|
query with elevation details |
Community >> Newbies
|
Mon, Dec 1, 2008 at 5:12:35 AM
|
3
|
Phasing query - How can I tweak my 'Shaded' elevation |
Community >> Newbies
|
Wed, Jan 14, 2015 at 3:26:07 AM
|
2
|
Modify DWG - Query |
Community >> Newbies
|
Tue, Apr 9, 2013 at 10:49:24 AM
|
2
|
Layers deleted in Query do not stay deleted |
Revit Building >> Technical Support
|
Thu, Jul 30, 2015 at 7:33:00 AM
|
4
|
|
|
Site Stats
Members: | 2056490 | Objects: | 23074 | Forum Posts: | 152326 | Job Listings: | 3 |
|