AutoCad :: Putting Numbering Lisp Into Program?

Sep 9, 2011

Just a quick one. About 4 years a go I put a numbering lisp into AutoCad I still have the numbering lisp and now want to put it into AutoCad 2012. I can't remember for the life of me how to do it.

View 9 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Macro - Auto Numbering

Aug 6, 2012

I urgently need a program that can auto number panels for a large drawing I have. I have a lisp program for auto numbering but we need each insertion of text to start with a P i.e. P1, P2, P3 etc etc.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating A PDF And Putting It Into The Windows Desktop?

Dec 2, 2011

cannot find a way to create a pdf and saving it into a desktop.  Basically, in the -plot command, there should be an option to allow it to save to C:documents and settings"username"desktopfilename.pdf"

See the command line used:

(COMMAND "-PLOT" "Y" "" "DWG to PDF.pc3" "30 x 42" "Inches" "Landscape" "No" "Extents" "1=1" "CENTER" "Yes" "Fullsize.ctb" "yes" "No" "No" "No" "C:\Documents and Settings\Username\Desktop\Filename.pdf" "N" "Y")

The objective is to allow the lisp to plug in whichever username and automatically creating a pdf based on the filename.

View 3 Replies View Related

AutoCad :: Lisp Or Program That Integrates Browser

Jun 27, 2012

Any software, plug-in, script, lisp or program that integrates a browser inside AutoCAD?

View 5 Replies View Related

AutoCAD Civil 3D :: Input To VB Program From LISP

Oct 20, 2012

I want to use the "Profile Sample" program supplied with C3D to create an alignment and profile.  I am creating the stations and elevations in LISP and want to send them to the "Profile" program.  I have seen in a C# program the use of an Array to send the data.  I would like to do the same.  eg. 

LISP - (profile_sample sta1 elev1 sta2 elev2 sta3 elev3 ...etc)

VB - What is the code to pass this data to the Profile Sample program?

I am VERY new to VB programming.  I have trouble giving up LISP.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Pausing In A Program To Allow Printing?

Jun 13, 2013

I have a lisp program which will create a cover sheet for my electrical drawings by extracting data from the title block. Once this is done, I manually print the cover sheet.

What I would like is to create the cover sheet, have the lisp program pause, print the cover sheet, then when printing is done, quit the drawing file so the cover sheet does not remain.

I tried several approaches, but the lisp program finishes before the cover sheet prints.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Program Variable Names?

Feb 28, 2012

Is there anyway to program variable names?

What I was thinking of was in a loop some times I need multiple sets of similar variables but am not sure how many sets I am going to need. I would like to be able to increment the variable names each time the loop runs.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Program Hangs Up For No Apparent Reason?

Oct 21, 2013

I have an AutoLISP program that hangs up for no apparent reason. I can run the program with an Alert in the loop. The program is a sheet generator, creating a border (insert with attributes), dimensions and MultiLeaders in Model Space, then a new Layout Tab is generated and the new elements are CHSPACEd into the new layout. An Alert temporarily halts the program once the task of a new Layout is created. In this form, the program works as designed. However, if I comment out the Alert, the program hangs up as if in an infinite loop. Also, hitting Escape does not cancel the AutoLISP, I must use Task Manager to end AutoCAD instead. My computer was recently upgraded to Win7 64-bit. I'm running 64-bit versions of software. (AutoCAD MAP 2011).

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Blocks Not Inserting Properly Through Program

Oct 13, 2011

Have an AutoLisp program that inserts a block with attributes. Been using it forever. Yesterday I ran the program and somehow when the block is inserted, it skips the Y scaling factor. The program should insert a block at a point with a X scale of 19.2, Y scale of 19.2, Rotation at 0 and then four attribute values.

What is happening is the block is inserted at the correct point and X scaling factor, but the Y scaling factor goes in for the Rotation angle (19.2 degrees), the Rotation angle goes in as the first attribute and the remaining attributes are shifted over and the last attribute is missing.Line of code is:

(command "INSERT" "CNVTAG" inspt scl scl 0 text1 text2 text3 text4)

The command prompt displays:

Command: (command "INSERT" "CNVTAG" inspt scl scl 0 text1 text2 text3 text4)
INSERT Enter block name or [?] <NEWWHDBORD>: CNVTAG
Units: Inches   Conversion:    1.0000
Specify insertion point or [Basepoint/Scale/Rotate]: Specify scale factor <1>:
19.20000000000000
Specify rotation angle <0>: 19.20000000000000
Enter attribute values
Conveyor number: 0 Conveyor Speed: 5315-BCS Motor Horsepower: 1.5hp Release
Mode: 45/90fpm

I looked at the system variables INSUNITS, INSUNITSDEFTARGET and INSUNITSDEFSOURCE AND THEY ARE ALL SET AT 0..Currently using AutoCAD 2010.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Simple Program That Changes Color Of M-leader Lines?

Mar 19, 2013

have a simple lisp (no v.b.) program that changes the color of m-leader lines in acad 2010?

IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Program For Cross Section By Manual Input

Jun 26, 2013

Is it possible to write a program for cross section by manual input of data like below. Objective is to draw a cross section with grid lines and labels of section data and datum value.

Program will ask for :

Datum value ?
Grid line spacing ?

Datas are :

Section Left

Chainage  5     Section value : 12.5
                10                            13.5
                 20                            5
                 23.7                         3

                and so on.....

Section Right

Chainage  5     Section value : 8
                10                    13.5
                20.5                  15
                25                      3

                30                      14

               and so on.....

View 3 Replies View Related

AutoCAD 2010 :: Create DAT File From Output Of LISP Program In Command Window?

Apr 18, 2013

I wrote some LISP programs. I would like to use the output data generated by LISP program in Command arear of AutoCAD. I Heard we can dave the output data into .dat files.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Get Output From MEASUREGEOM Command Back Into VL Program

Oct 17, 2011

Is it possible to get the output from the MEASUREGEOM command back into an VL program?If I use:(setq angle (command "MEASUREGEOM" "a" line1 line2 "x"),

the value of the angle is displayed on the screen but is not passed back into the program and the variable "angle" is not set.Is there a way that I can set this variable?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Program To Evenly Space Objects Across Given Distance

Dec 28, 2013

I would like to write some sort of AutoLISP program to evenly space objects across a given distance.  I have attached a .pdf file showing what exactly I mean.

I would like the program to enable me to either enter or measure (via the selection of two points) the "z" distance, to enter or measure the "y" distance, and to enter the number of objects, "n".  I would then like the program to evenly space "n" objects across the "z" distance.

A program like this is, I have to be honest and say, way beyond my current capabilities.

Perhaps some initial guidance to get me going? 

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Program Loop To Draw Lines With Rubberband

Oct 4, 2012

i am writing something that will draw consecutive lines with a rubberband to be used as a leader from a block's insertion point.  this:

(WHILE
 (SETQ LN (GETPOINT "
Select Next Point (ENTER to Finish) : "))
 (COMMAND "LINE" (GETVAR "LASTPOINT") LN "")
)   

works, but does not include the rubber band.  i tried:

(WHILE
 (SETQ LP (GETVAR "LASTPOINT"))
 (SETQ LN (GETPOINT LP "
Select Next Point (ENTER to Finish) : "))
 (COMMAND "LINE" LP LN "")
)   

which includes the rubberband, but will not exit the loop. The last break source in VLIDE shows that  

(GETPOINT LP "
Select Next Point (ENTER to Finish) : ") is casuing an error.  Placing
 (SETQ LP (GETVAR "LASTPOINT"))

 outside the loop causes all lines to be drawn from the same point rather than the endpoint of the previous line. 

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Macro To Open Third Party Program From Toolbar Button

Feb 7, 2012

I'm trying to create a macro for a toolbar button to open a third party program. Basically we want to open a custom .exe application from a button on the ACAD toolbar.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Open Excel Program And Count Cells Based On Colour?

Jul 30, 2013

Is this something that is possible? Basically I have an excel file with sample data that comes coded (red background for fail, Green for pass) Then we transfer that into halos on a DWG. got a routine to count the halos in a DWG. Now I was thinking it would be nice if it compared the number to the excel file to make sure no mistakes were made when placing the halos.

So as I mentioned I've seen rountines to read data in cells but none to count cells based on colour.

View 8 Replies View Related

AutoCAD 2013 :: Lisp / Program That Would Do Light Point By Point Of Fixtures In Plan

Aug 7, 2013

I am looking for something a lisp or program that would do a light point by point of fixtures in a plan.

[URL]

View 1 Replies View Related

AutoCAD Civil 3D :: SSM Numbering Pages Xx Of Yy?

Sep 5, 2013

In my company we use the SSM and label our sheets as follows:

(Sheet Number) - (Sheet Title)

G-1.00 - Summary of Quantites

WM-1.01 - Water Main

etc...

In the border we would like to put page SHEET XX OF YY. The Total count is simple with a custom field however how would I get the XX part to show the sheet number as a number and not G-1.00.

View 4 Replies View Related

AutoCad :: Sheet X Of 45 - Automatic Numbering?

Oct 2, 2009

What I'd like to know is if there's a way to automatically update the sheet number in separate dwgs.

For example: at work we have 45 separate dwgs in multiple disciplines. Is there a way to have the "x" in "Sheet X of 45" update automatically on each sheet? This way whenever we insert/delete a sheet in the set it automatically knows which number it is in regard to the set as a whole.

Running Autocad 2008 btw. Full Version.

View 9 Replies View Related

AutoCAD Inventor :: New Part Or Assembly Numbering?

May 28, 2013

Normally you start with new models/assemblies/and drawings when you use the templates the naming by default  is part1.ipt, assembly1.iam,  drawing1.idw

I am currently at part431.ipt and assemby57.iam

I am concerned I may eventually reach part1000.ipt  LOL

Currently using Inventor2012.

View 6 Replies View Related

AutoCAD Inventor :: Numbering Welds When They're Annotation Only?

Aug 8, 2013

Not welds from a model, but if I go through 4 .idw sheets of details...and annotate all of my welds is there a way to assign numbers to them without manually entering them?

Our welds are track by number through QA, and depending on the amount of sheets and welds in a set of drawings for a given assembly, sometimes it's a real chore when you realize you forgot to add a weld to something on page 2 when you've already edited weld tails through page 5.

Inventor 2014
Windows 7 Pro SP1
Intel(R) Core(TM) i7-3770k CPU @ 3.50GHz
16GB RAM
NVIDIA Quadro 4000
3D Connexion SpaceMouse Pro

View 1 Replies View Related

AutoCAD Inventor :: Start Drawing Numbering At Something Other Than 1

Aug 6, 2012

Anyway, I have an .idw series of drawings that i want to start at sheet #13. How? It is a clients title block and the format is "sheet 1 of 8, sheet 2 of 8, etc." so I need sheet 13 of 26, etc..

View 1 Replies View Related

AutoCAD Architecture :: Door Numbering More Than 2 Digits

Jul 1, 2012

I am trying to number my doors, and the door tag (AEC6_Door_Tag), won't let me create door numbers with 3 digits.  I have never had this problem before.  It keeps creating tags with 2 digits. 

View 6 Replies View Related

AutoCAD Inventor :: BOM Numbering - Auto Balloon

May 31, 2012

I have an issue when using Auto Balloon.

Lets say for e.g. that I have 12 parts within an assembly, once auto balloon has done it’s job you notice that No. 9 balloon is blank and No. 10 balloon only shows 1 and not 10.

View 4 Replies View Related

AutoCAD Inventor :: Parts List Numbering

Jul 12, 2012

In Inventor 2010 is it possible to change the numbering system so that it continues sequentially with each assembly / subassembly added across the sheets in a drawing file?

View 2 Replies View Related

AutoCAD Civil 3D :: Drawing Numbering Convention

Aug 23, 2013

I have a user that is on a 4 sheet site plans set and is opting to prefix his sheet numbers with C-. I have n issue with that, but he is also forcing the numbers into the hundreds with C-100 for sheet 1. In and of itself I wouldn't be too bothered by it except he is insisting on sheets 2-4 to C-200, C-300, C-400.

My biggest issue is this is making some inconveniences with SSM.My second issue is why use 5 character for a single digit.

My last peeve is if I see drawing C-100 my minds eye is looking for C-101 through C-199 and so on. Also if your using C- for the civil drawing would that preclude the need for C-200 - C-400?

View 7 Replies View Related

AutoCad 2D :: Start Numbering On Multi Text

Dec 13, 2012

How do you start the numbering on multi text from a No. higer than 1?

View 3 Replies View Related

AutoCAD Inventor :: Part Numbering Conventions

Dec 5, 2013

Part numbering schemes. At my workplace we have descent naming conventions for top level assemblies/products however our substructuring is quite a mess. A previous workplace had a set in stone scheme for naming sub assemblies and parts based on the top level assembly or product. 

I am in the process of developing a policy and am curious to see what others have done instead of re inventing the wheel. 

View 8 Replies View Related

AutoCad :: Automatic Numbering Of Block Attributes?

Jul 16, 2007

I am counting all the doors in a project in autocad 2008, but It is becoming to be a real pain in the but because every time I change some door, I have to renumber almost every door .. I am sure there is an easier way to do that.. I am using a block with atributes and I would like to know if there is a way autocad can number automatically each block atribute.. I know that with mtext it is very easy (I use in my parking spaces) but with blocks I dont know how to do it . like each time I put a block the number gets updated, and each time I take one off it gets updated again..

View 9 Replies View Related

AutoCAD Civil 3D :: Benefit To Numbering Alignments?

Nov 12, 2012

What is the benefit to numbering alignments?

Example:  Street CL (1), etc.

When I have a street centerline alignment, I am failing to see any benefit.  If I have a change, I want the change, not any old stuff.  If I have a need to different alignments for differing purposes, I'd rather give each my own unique name.  If I make a change, and I want that change easily reflected into a profile or corridor, wouldn't it be more efficient to let the name remain constant?

Do you allow the program to do this?
 
Windows 7-64
8GB RAM
AutoCAD Civil 3D 2013

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved