RevitCity.com Logo

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

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

Search this ThreadSearch this Thread | Page 1 of 1 |

Sun, Aug 5, 2012 at 9:19:34 PM | query

#1

vidhikholia


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

 

Mon, Aug 6, 2012 at 3:26:07 AM | query

#2

frifer


active

Joined: Mon, Jul 30, 2012
107 Posts
5 Stars: 4 Votes


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 Shadey http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381

This user is offline

 

Mon, Aug 6, 2012 at 3:28:48 AM | query

#3

frifer


active

Joined: Mon, Jul 30, 2012
107 Posts
5 Stars: 4 Votes


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

 


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

Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback Shadey http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381

This user is offline

 

Mon, Aug 6, 2012 at 4:40:19 AM | query

#4

frifer


active

Joined: Mon, Jul 30, 2012
107 Posts
5 Stars: 4 Votes


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 Shadey http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381

This user is offline

 

Mon, Aug 6, 2012 at 6:13:09 PM | query

#5

vidhikholia


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

 

Tue, Aug 7, 2012 at 1:06:05 AM | query

#6

frifer


active

Joined: Mon, Jul 30, 2012
107 Posts
5 Stars: 4 Votes


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 Shadey http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381

This user is offline

 

Tue, Aug 7, 2012 at 1:27:41 AM | query

#7

frifer


active

Joined: Mon, Jul 30, 2012
107 Posts
5 Stars: 4 Votes


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



Attached Files

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

Check out my new Renderlist add-in to render multiple views in sequence overnight! Get it here and remember to leave some feedback Shadey http://www.revitcity.com/forums.php?action=viewthread&thread_id=28381

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

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

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights