Results 1 to 5 of 5

Thread: Combine (catenate) properties from PSD in tag

  1. #1
    Member
    Join Date
    2002-06
    Location
    Oregon
    Posts
    3
    Login to Give a bone
    0

    Default Combine (catenate) properties from PSD in tag

    Seems like I've seen this somewhere before but searching various forums has resulted in not finding it.

    Want a Room or Space tag to display the length and width. I would like this to be in one line and for the line of text to be left justified. So far,I have placed the Width and Length properties in the view block (as separate entities) into one line separated but a text object "X" such that it reports something like "10'-11" X 12'-9"". I right justified the left property and left justified the right property, in order to equal their spacing about the "X". The difficulty I am having is left justifying the entire line. I thought there was a way to catenate or combine properties into one entity with quotations or conditional statements, but I can't seemed to find such in ACA Help or other forums. See Sample1.dwf

    I tried left justifying each, but then I have to assume a spacing between them. (Sample2.dwf) The problem is if the Width or Length is longer (or shorter) than the assumption, then the"X" is either spaced too far from the Width or Length
    (like "3'-9" X 12'-9") or its overwritten by the longer value. See Sample3.dwf (space width edited to illustrate)

    Thanks in advance for your thoughts.
    Attached Files Attached Files
    Last edited by jack.33330; 2009-02-25 at 07:33 PM. Reason: did not set email notification

  2. #2
    100 Club
    Join Date
    2008-06
    Location
    VA
    Posts
    165
    Login to Give a bone
    0

    Default Re: Combine (catenate) properties from PSD in tag

    Hey Jack,

    Although I'm an AMEP user, I *think* I understand what you're trying to do. You may want to check out this thread: http://forums.augi.com/showthread.php?t=71705 . It's pretty long, but it covers a lot of good techniques for creating custom tags and PSDs; the first few posts are what I think you may be interested in.

    Hope this helps!
    -Brad

  3. #3
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Combine (catenate) properties from PSD in tag

    A formula property can concatenate the information you want into a single property, which can then be justified any way you like.

    If you will be using imperial units (feet and inches), as you post indicates, be aware that it will probably not be quite as easy as simply concatenating two or three strings into one, due to the presence of the embedded inches mark, which just happens to serve as the delimiter for a text string. An embedded double quotation mark can cause problems, but there is a way around it, provided you are willing to calculate all the individual pieces (feet, inches, fractions of an inch) for each dimension to be shown and then stitch them all together on the RESULT line of the formula property.

    This blog article has a link to a sample file that creates a Width x Height property for Windows, which do not have an automatic version for that, like Doors do. Segment 2 of my ATP121 class on formula properties (check out the AUGI Training Program archives for June 2006) has sample formulas that do both decimal and fractional values for fractional inches. It can get a little complicated, but if you really want to have a single property with multiple dimensions, it is worth the effort.

  4. #4
    Member
    Join Date
    2002-06
    Location
    Oregon
    Posts
    3
    Login to Give a bone
    0

    Default Re: Combine (catenate) properties from PSD in tag

    David, thanks so much, this will get me going. You are so prolific, I see your name all over. Where do you find the time?

  5. #5
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Combine (catenate) properties from PSD in tag

    Sleep deprivation and a very minimal personal life can free up enormous amounts of time.

Similar Threads

  1. 2015: How do you combine Phases?
    By Bluefairy in forum Revit Architecture - General
    Replies: 2
    Last Post: 2014-06-24, 06:33 AM
  2. 2010: Combine two parts into one
    By jimmy.long in forum Inventor - General
    Replies: 1
    Last Post: 2012-01-11, 02:25 PM
  3. Combine
    By Loc in forum AutoLISP
    Replies: 2
    Last Post: 2009-11-04, 06:15 PM
  4. Combine Sheet Properties and Rename and Renumber Windows
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2008-06-02, 03:35 PM
  5. combine mtext
    By dion.99596 in forum AutoCAD Customization
    Replies: 2
    Last Post: 2008-01-29, 04:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •