Member
Posts: 3
Registered: ‎03-16-2012
Message 1 of 10 (310 Views)

# field showing ####

310 Views, 9 Replies
03-16-2012 05:04 AM

hello

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?

Ben

*Expert Elite*
Posts: 19,567
Registered: ‎11-06-2003
Message 2 of 10 (307 Views)

# Re: field showing ####

03-16-2012 05:21 AM in reply to: bnayaba

#### can mean your field's source of information is missing, or the filed parameters are incorrect.

Dynamic Blocks discussion area (if you want to follow up there) is at:
http://forums.autodesk.com/t5/Dynamic-Blocks/bd-p/154

Member
Posts: 3
Registered: ‎03-16-2012
Message 3 of 10 (303 Views)

# Re: field showing ####

03-16-2012 05:59 AM in reply to: pendean

thank you

i added a line with a scale action to the block and used it to mesure the length of the parking lot...

Ben

*Expert Elite*
Posts: 19,567
Registered: ‎11-06-2003
Message 4 of 10 (283 Views)

# Re: field showing ####

03-16-2012 02:33 PM in reply to: bnayaba

Sweet.

*Expert Elite*
Posts: 857
Registered: ‎03-15-2008
Message 5 of 10 (280 Views)

# Re: field showing ####

03-16-2012 03:29 PM in reply to: bnayaba

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:

180'

<-------------------------------------------->

[No. of 9' Stalls:  20 ea]             Multiplier here: 0.111111  Rounding to 0 places eventually, after testing.

Dave.

------------------------------------------------------
Dave Hein, P.E.
Member
Posts: 3
Registered: ‎03-16-2012
Message 6 of 10 (270 Views)

# Re: field showing ####

03-17-2012 01:15 AM in reply to: heinsite

hello Dave

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?

Ben

*Expert Elite*
Posts: 857
Registered: ‎03-15-2008
Message 7 of 10 (253 Views)

# Re: field showing ####

03-18-2012 04:26 PM in reply to: bnayaba

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.

Dave.

------------------------------------------------------
Dave Hein, P.E.
Mentor
Posts: 1,250
Registered: ‎04-09-2010
Message 8 of 10 (249 Views)

# Re: field showing ####

03-18-2012 05:10 PM in reply to: pendean

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

Thanks

jamal

----------------------------------------------------------
Jamal NUMAN, GIS and Civil Engineer, MSc
e-mail: JamaL9722060@yahoo.com
P.O.Box: 731, Ramallah, West Bank, Palestine.
----------------------------------------------------------
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
*Expert Elite*
Posts: 857
Registered: ‎03-15-2008
Message 9 of 10 (246 Views)

# Re: field showing ####

03-18-2012 06:03 PM in reply to: JamaL9722060

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.

Dave.

------------------------------------------------------
Dave Hein, P.E.
*Expert Elite*
Posts: 857
Registered: ‎03-15-2008
Message 10 of 10 (239 Views)

# Re: field showing ####

03-18-2012 07:13 PM in reply to: heinsite

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

Dave.

------------------------------------------------------
Dave Hein, P.E.

Recently Solved