Custom Beam Tag

I am trying to create a custom beam tag. The first image shows the BIM profile tag (Grey outline) and below it the desired format (basic mtext). I do not want to see AISC and to remove the space between the profile shape and the size of the profile. On the second image when selecting the member i can see the Profile name "L" and Profile size "6x6x3/8". My original idea was to have a mleader style with mtext fields [Profile name] [Profile size] but I cannot find those values under the BIM properties, only the parent Profile that has all the values combined.

Comments

  • ALANH
    edited 10:29PM

    I don't have BIM but can you post a sample dwg from a lisp point of view can redo the label as you require, say on another layer. It's a easy task but I don't know if I can see the label with Pro version.

    ; thanks to Lee-mac for this defun
    (defun csv->lst (str ans / pos )
    (if (setq pos (vl-string-position ans str))
    (cons (substr str 1 pos) (csv->lst (substr str (+ pos 2)) ans))
    (list str)
    )
    )

    (setq str "ASIC L 6X6X3/8") ; get this from dwg

    (setq strlst (csv->lst str 32))
    (setq newstr (strcat (cadr strlst)(caddr strlst)))

    "L6X6X3/8"