i'm trying to build a dynamic block of parking lot.
i want the block to count the number of parking spaces.
i created an attribute that use a formula: parking_length/1_parking_length
i used for the parking_length parameter a field that i created
for some unknown reasone i only get #### insted of the reasoult
can anybody help me?
Solved! Go to Solution.
your answer give me the direction to solve the problem
i added a line with a scale action to the block and used it to mesure the length of the parking lot...
I know you've solved your problem, but it's worth suggesting another way of doing this same task.
Set up a DIMSTYLE for it. Use the Alternate Units tab. The multiplier is simply the reciprocal of the stall width. I've used this and put all that info below the dimension line. Something that ends up looking like this:
[No. of 9' Stalls: 20 ea] Multiplier here: 0.111111 Rounding to 0 places eventually, after testing.
this is a great solution!
i learned today a new thing (alternate units)
is there a way to use the alternate units as a 'field', or to export them in the 'extract data' command?
I doubt it. Think about it for a second... if you had a whole bunch of dimensions in a drawing, how would AutoCAD ever know which was which? To utilize data extraction, things need to be unique in some way.
How the source of the information can be missing or the perimeters are incorrect if the field is simply taken to represent the length of a line?
Please, have a look on the attached file if your time permits
Apples and oranges. In one case we're talking about using a field from a dimension object. The data extraction gathers attribute data within blocks.
To make this work you'd have to pull the data from the dimension into an attribute within a block and then extract it.
I think the OP's original hope was for some way of automatically counting the number of stalls in his parking lot design. My original solution was just something simple using the Alt Units option within a DIMSTYLE. But you could also count stalls by inserting an ID block in each stall... and either showing it or not. Then you'd simply count the number of insertions. if you attributed that block with dimensional or other information you'd also be able to extract additional data as well such as how many of each type of stall you had, full size, compact, handicap, loading, or other as well. You could keep track of painting quantities tooif you wanted.
In the end, it's up to our needs and creativity. In this case I'd simplify the Alternate tab data and take it directly into a table.
... I now see that you can't pull alternate tab data directly. But you can bring the dimension value itself to the table and do the division math there.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.