Forums >> Revit Building >> Technical Support >> Multiple Parking spaces - line based family, need help
|
|
active
Joined: Wed, Mar 5, 2008
67 Posts
![5 Stars: 1 Votes](/images/stars_5.gif) |
i made a line based family of parking spaces so i could do multiple spaces at one time. it worked great on a straight line but i cant get it to work for angled parking. can someone help try to figure out why it wont align when i angle it. thanks!
|
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) |
Ok, I see you have the nested Stall Types loaded. They look good.
I added a new Instance Parameter of Type 'Type' 'Parking'. now when you load the main family into a project and draw the parking array you can click on it and look for a new parameter named 'Stall Type'. Then you can specify your nested stall type of choice.
The remaining problem lies in the location of the second stripe. I'd either eliminate it or work with the fomula that positions it. That second strip needs to come back a little when rotated. It's not pivoting at the right point or you need a contingency factor to compensate for that little offset.
Nice work otherwise, I'd say.
I'm attaching my revised family.
-----------------------------------
.
FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150
|
This user is offline |
View Website
|
![](images/spacer.gif) |
active
Joined: Wed, Mar 5, 2008
67 Posts
![5 Stars: 1 Votes](/images/stars_5.gif) |
thanks for taking a look. im just curious, that parameter you added, how does that affect the family? is it just for scheduling?
i dont know how to make a formula to get the second line to pivot at the right location, thats my problem
|
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) |
I added that instance parameter so you can click on the family after its been placed and change the stall type from 90 degree to 80 degree etc. You could also make it a type parameter and pre-determine the stall type.
I did it because the only other way you could change the stall type was to use your 'angle' type parameter and that just made a mess of things.
I'd almost think of trying to eliminate the second stripe all together if possible.
Edited on: Tue, Feb 26, 2013 at 1:40:05 PM
-----------------------------------
.
FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150
|
This user is offline |
View Website
|
![](images/spacer.gif) |
active
Joined: Wed, Mar 5, 2008
67 Posts
![5 Stars: 1 Votes](/images/stars_5.gif) |
do you think that would solve my angle problem?
|
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 I think so.
The problem is the second stripe isn't lining up with the first stripe in the array. Just go with one stripe and array 1 extra (empty) stall to get the last stripe in the string.
If you try the new family I uploaded it works fine other than the conflicting second stripe.
-----------------------------------
.
FULL 'DOWNLOAD ACCESS' to all 850+ CADclips videos for only $150
|
This user is offline |
View Website
|
![](images/spacer.gif) |
active
Joined: Wed, May 14, 2008
209 Posts No Rating |
The Problem is you parking space spacing length is wrong when changing an angle. You need to use trig and use an equation to calculate the new length the parking spot spacing needs to be when the angle changes. Parking Space Spacing / cos( Angle), something like that.
Edited on: Tue, Feb 26, 2013 at 5:01:10 PM
|
This user is offline |
|
![](images/spacer.gif) |
active
![alfmedina Avatar](user_avatar/41302.jpg)
Joined: Wed, Sep 26, 2007
162 Posts
![4 Stars: 8 Votes](/images/stars_4.gif) |
I agree. I tested that family, and as the parking angle becomes smaller, such as 60, 45, etc, the space for each car becomes narrower and narrower, which is wrong. The width of the spot should adapt to the angle.
-----------------------------------
Planta1 Revit Online Consulting | info@planta1.com |
This user is offline |
View Website
|
![](images/spacer.gif) |
active
Joined: Wed, Mar 5, 2008
67 Posts
![5 Stars: 1 Votes](/images/stars_5.gif) |
trig is way above my pay grade... i did however get it to sort of work by editing the width of the spot manually for the angles. and though its not 100% accurate and it pains me to do it, its close enough for what i need it for
|
This user is offline |
|
![](images/spacer.gif) |
active
Joined: Sun, Sep 25, 2011
1 Posts No Rating |
I am trying to create a similar family, but one that only shows lines instead of paving stripes. I have the family working pretty well, except I am not sure how you got your family to start by drawing a single line...
Thanks,
Chris
|
This user is offline |
|
![](images/spacer.gif) |
|
active
Joined: Wed, Apr 10, 2013
0 Posts
![5 Stars: 2 Votes](/images/stars_5.gif) |
I thought this might help complete the circle here. So if you download that second attached family on this thread, you can fix the angle problem by using this formula for the Parking Spot Spacing Formula
"Parking Width / sin(Angle)"
Quinn had it right, except use sin instead of cos. Works like a charm now.
Here's the math behind it in the image below, and how it looks in the Family Type box. (forgive my mouse freehanding abilities haha)
Edited on: Tue, Jul 29, 2014 at 4:32:42 PM
Edited on: Tue, Jul 29, 2014 at 4:55:52 PM
|
This user is offline |
|
![](images/spacer.gif) |
active
Joined: Wed, Apr 10, 2013
0 Posts
![5 Stars: 2 Votes](/images/stars_5.gif) |
I can't seem to attach more than one picture. Here it is entered in the Family Type Formula box.
|
This user is offline |
|
![](images/spacer.gif) |
![](images/spacer.gif) |