Jump to content

Leaderboard

  1. Nikon

    Nikon

    Community Member


    • Points

      2

    • Posts

      508


  2. GLAVCVS

    GLAVCVS

    Community Member


    • Points

      2

    • Posts

      673


  3. CyberAngel

    CyberAngel

    Trusted Member


    • Points

      2

    • Posts

      1,965


  4. Saxlle

    Saxlle

    Community Member


    • Points

      1

    • Posts

      187


Popular Content

Showing content with the highest reputation on 04/15/2025 in Posts

  1. @EIA You can use a dynamic block. А-А.dwg
    2 points
  2. @Nikon You could use Lee's minimum bounding box code and iterate your titleblock elements removing items that do not plot or are not visible.
    1 point
  3. Hi @mohammadreza, Maybe you need tou use Unicode characters to replace the letter "ي" (if you look at Unicode character list Arabic, you will se the letter "ي" have "U+064A"). This is the Unicode characters for Basic Latin (letter d = U+0064). So, if I use this (if you have only one letter): (setq ent (entget (car (entsel "\nSelect TEXT or MTEXT:")))) txt (cdr (assoc 1 ent)) ) From "txt" variable I get "\U+064A" which represent the letter "ي" and, if you want to substitue the letter "ي" with letter "d", use the next line of code (entmod (subst (cons 1 "\U+0064") (cons 1 txt) ent)) where "\U+0064" represent the letter "d" I get the desired output. Also, if you have something like this "{\\fArial|b0|i0|c178|p34;\U+064A} {\\fArial|b0|i0|c178|p34;\U+064A}", use this Lee Mac UnFormat String to clean everything and get "\U+064A \U+064A". To do this, you need first to clean string to get "\U+064A \U+064A", then replace old string (for e.g. "{\\fArial|b0|i0|c178|p34;\U+064A} {\\fArial|b0|i0|c178|p34;\U+064A}") with "\U+064A \U+064A" using (entmod (subst ....), then again get data about entity, use "\U+0064 \U+0064" to substitue "\U+064A \U+064A". I know it's confusing, but you need to try it on your own. Best regards.
    1 point
  4. Hi @Mohammedreza If '...-translate' doesn't work as expected, try '...-subst' And if that doesn't work either, convert the string to a list with 'vl-string->list' and replace the integer with the one that corresponds to the ASCII of the target character. After that, convert the resulting list again with 'vl-list->string'
    1 point
  5. Hola @EIA Solo necesitas cambiar 'command' por 'command-s'
    1 point
  6. As far as I know, it's okay to do it either way. The only difference is, when you add an attribute to an existing block, you'll need to run ATTSYNC or BATTMAN to update the block definition.
    1 point
  7. My guess is that the original arc was not drawn in the World UCS. That's why you get a 210 code, to define the object's original plane. Another guess, FLATTEN translates the center point to the XY plane and then redefines the arc as if you'd drawn it in World UCS. That's why it doesn't look like what you expect. The new start/end points have no relation to the originals.
    1 point
×
×
  • Create New...