Results 1 to 3 of 3

Thread: Creating macros in LT for numbering parts

  1. #1
    Member
    Join Date
    2008-02
    Location
    MT
    Posts
    10
    Login to Give a bone
    0

    Default Creating macros in LT for numbering parts

    I have been trying to customize a few things in AutoCAD LT 2017 to streamline our drawing process and need a little help with some macros. Last time I created macros I was working in a full version of AutoCAD, not LT, and it was so much more user friendly...
    Main goal: create a macro that will 1)set current layer to "LABELS" 2)set text height to 2" 3) place a text label with a number series such as "P#1", "P#2", "P#3", etc. and 4)a secondary label (new/separate macro?) in series such as "P#1-1", "P#1-2", "P#2-1", etc.

    So far I have gotten the current layer and text height to work but can't figure out the actual numbering. I found this thread http://forums.augi.com/showthread.ph...for-AutoCAD-LT but the macro listed doesn't do anything when copied/pasted into LT 2017. I do not have a lot of experience with DIESEL and don't understand how to get the variables to work.

    What I have so far:
    *^c^c_-layer;s;labels;;_text;\2;;P#1
    I tried using that in conjunction with the numbering macros shown in the linked thread but can't seem to get it to work.

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

    Default Re: Creating macros in LT for numbering parts

    I would like an answer to this question

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,392
    Login to Give a bone
    0

    Default Re: Creating macros in LT for numbering parts

    What problem are you having? What does your macro look like? Have you set USERS1 and USERS2?
    C:> ED WORKING....

Similar Threads

  1. MA12-1L: AbraCADabra: Creating 2D Assemblies from 2D Parts
    By Autodesk University in forum Manufacturing
    Replies: 0
    Last Post: 2013-04-17, 04:39 AM
  2. CP21-1: Creating Intelligent Parts Libraries
    By Autodesk University in forum Customization and Programming
    Replies: 0
    Last Post: 2013-03-30, 02:03 AM
  3. PR31-1: Creating Intelligent Parts Libraries
    By Autodesk University in forum Computer Programming
    Replies: 0
    Last Post: 2012-11-24, 07:38 PM
  4. Creating lighting misc parts
    By Jimbob in forum Revit MEP - General
    Replies: 5
    Last Post: 2011-04-15, 04:02 PM
  5. creating macros and lisp commands for beginners
    By Sponge Bob in forum AutoCAD Customization
    Replies: 4
    Last Post: 2008-01-10, 04:20 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
  •