Results 1 to 4 of 4

Thread: Help to use "IF" in Autocad field

  1. #1
    Member
    Join Date
    2017-12
    Posts
    2
    Login to Give a bone
    0

    Default Help to use "IF" in Autocad field

    Hello everyone, sorry for my bad english.
    I really need some help to create a dynamic block.
    Like this...
    I try to create a block, with the parameter rotate, in blockplaceholder ...
    Turn this information into percentage.
    So far, okay, the problem is, when I use "if" ...
    Since this information is in percentage, if I rotate counterclockwise, the percentage should be positive. If I turn clockwise, the percentage value must be negative.

    %<\AcObjProp Object(%<\_ObjId 2150612192>%,1).Rotation \f "%au0%pr2">%*100/45

  2. #2
    Member
    Join Date
    2017-12
    Posts
    2
    Login to Give a bone
    0

    Default Re: Help to use "IF" in Autocad field



    I found this.
    But I do not have time to put it into operation ...
    When I succeed, I will return here to show how I did it.

  3. #3
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: Help to use "IF" in Autocad field

    Haven't tried it, but hmsilva's responce below about using DIESEL is probably the best option:
    https://forums.autodesk.com/t5/autoc...5762970#M90167
    also: https://forums.autodesk.com/t5/autoc...d/td-p/3636726

    Moderator this thread should probably be in the AutoCAD Fields forum.

  4. #4
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Central New Jersey
    Posts
    439
    Login to Give a bone
    0

    Default Re: Help to use "IF" in Autocad field

    You could try rotating the rotation parameter 180 degrees, then move the grip back to its original location. In the field, first subtract 180 from the rotation value before performing any other functions.

Similar Threads

  1. 2016: Why Autocad has "None" option in "UNDO" command?
    By MTGH9UU in forum AutoCAD General
    Replies: 3
    Last Post: 2015-09-14, 03:27 PM
  2. Replies: 0
    Last Post: 2012-06-06, 11:54 AM
  3. "Varies" in "Sill Height" Field for window schedule
    By BSaunders in forum Revit Architecture - Tips & Tricks
    Replies: 1
    Last Post: 2010-11-17, 11:58 PM
  4. ENTIDADES EN ALIGNMENT COMO "FIXED", "FLOTING" y "FREE"
    By cadia in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2009-02-01, 04:21 AM
  5. Replies: 2
    Last Post: 2008-11-17, 02:17 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
  •