+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Forum Newbie
    Using
    AutoCAD 2011
    Join Date
    Apr 2012
    Posts
    5

    Default conditional blocks

    Registered forum members do not see this ad.

    Hi people

    I'm thinking about making conditional blocks for beam-profiles. I know it's possible to make conditions of the sort "width = 2xLength". But is it possible to make conditions of the sort:
    "If length=100 then width=342, if length=200 then width=530"?

    best regards

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,816

    Default

    Welcome to CADTutor

    Consider using a Dynamic Block with either multiple Visibility States, or a Lookup Parameter.
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  3. #3
    Forum Newbie
    Using
    AutoCAD 2011
    Join Date
    Apr 2012
    Posts
    5

    Default

    Thanks! Then at least i know where to start looking.

  4. #4
    Super Member Organic's Avatar
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Feb 2009
    Posts
    1,672

    Default

    Registered forum members do not see this ad.

    I've seen structural section blocks like this before which as Lee Mac said, were done with dynamic blocks.

Similar Threads

  1. Conditional statement
    By ketongin in forum AutoLISP, Visual LISP & DCL
    Replies: 18
    Last Post: 1st Nov 2011, 02:51 pm
  2. conditional macro 2
    By jmyrwen in forum AutoLISP, Visual LISP & DCL
    Replies: 11
    Last Post: 3rd Jun 2011, 03:27 pm
  3. conditional macro not working
    By jmyrwen in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 2
    Last Post: 2nd Jun 2011, 04:04 pm
  4. conditional statement
    By lfe011969 in forum AutoLISP, Visual LISP & DCL
    Replies: 25
    Last Post: 7th Oct 2010, 06:38 pm
  5. Embedding conditional statements
    By ollie in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 30th Mar 2010, 02:40 pm

Bookmarks

Posting Permissions

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