hello,
new here, etc. trying to write my first lisp routine. well cobble it together from code i've found elsewhere....
sorry if this is long-winded:
i have a block with attributes; two of which are fields. one field reads the area of a polyline, the other the layer on which that polyline resides. the layer is important 'cus it shows what type of area the polyline is measuring (net internal, gross, etc).
the lisp routine allows me to pick the polyline, then the block; editing the fields inside the block attributes to correctly refer to the correct polyline.
our layer conventions dictate that there is some 'rubbish' before and after the part of the layer that describes the measurement type, and i want the field to ignore those bits and just give me the relevant information. there are 5no characters before and 4no after, that i'd like to 'ignore'.
can anyone help? please?!
oh, i used fields, because the block would update itself when ever the polyline was edited. ie the area altered, or the layer changed...
thanks in advance