Cameron,
Sorry it has taken me so long to get back with you . Deadlines, , I'm sure
you know. Here are a couple of ideas. You will need two different pds's
"TimberStyles" and "TimberObjects" (we'll use these for this example). In
your "Style" psd, you'll need to set up the two manual pds's which you have
probably already done. Lets call them "TimberIden" and "TimberLoc". (that's
what I gathered from the description below). Then go the the "applies to"
and pick "select all". This is important so you can actually see the
"TimberStyles" properties in the "TimberObjects" psd when picking them in
you formula. Sneaky sneaky, , huh. I don't know if you want to tag them or
not, but if you do, you have to set up a tag that applies to your mass
elements and deal with attributes , , I haven't created any custom tags yet,
you will need to get someone else to help you one that one. Getting to
combine the "TimberIden" and "TimberLoc" with a dot in between is easy. It
is adding the quantity at the end of the formula automatically that is over
my head. I guess you could just add it as a manual property, but that
doesn't make ADT do all the work. Once you get the formula right you then
have to go to the "TimberStyles" psd and set "applies to" back to "mass
elements". Don't worry, you formula will still work. Hopefully one of the
more educated VB script writers will help you with the rest. I have
attached the file with a few mass elements on a style with the
"TimberStyles" psd attached to it, and the "TimberObjects" psd attached to
the actual mass elements objects. I also created a little schedule that
shows what I've done so far. It is just one column and I know it looks
funny. I will repost this message so it will be at the top of the list
again. I hop this helps.
Tony H.
"timberdesign" wrote in message
news:4693838.1092676590631.JavaMail.jive@jiveforum1.autodesk.com...
> Hi Tony,
>
> Thanks for the offer of help. I design post & beam timber buildings and
use mass elements to model the timbers. Each type of timber (joist, rafter
etc) has its own style. At the moment I am using a manual object PSD to
assign a code to each timber (this done via a cell edit in a schedule).
This code follows a set format, say 6.1.05. The first 2 no.s identify the
timber 6=roof timber and 1=rafter, these are of course best set in a style
PSD as they are the same for all rafters in the building. The last no., 05,
identifies all timbers of a certain size. For example, the rafters might
all be 100 x 75 mm and be in 8 different lengths so 05 identifies all
rafters of the same size and length. Maybe there are 100 rafters in all and
6 rafters of type 6.1.05. This last no. is of course best placed in an
object PSD (to be entered manually). I am looking to read the style PSD
into the object PSD so that I can merge these code no.s to give the full
code.
>
> Hope that makes sense?
>
> Cheers,
>
> Cameron.