AutoCad :: Lisp Or Program That Integrates Browser
Jun 27, 2012Any software, plug-in, script, lisp or program that integrates a browser inside AutoCAD?
View 5 RepliesAny software, plug-in, script, lisp or program that integrates a browser inside AutoCAD?
View 5 RepliesWhen I tried to use file browser in PS7 this morning, it opened and, instead of showing the directory tree structure that I last left it in, it only showed the desktop with the + sign to expand that folder. When I click the + sign, I get the following error message:
"Could not complete your request because of a program error."
What could have happened and how can I fix this so I can use my file browser again?
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.
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 View RelatedI 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.
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.
I opened the drawing and then from the drawing opened the model. In the drawing it is showing the 4th instance of ROUND CRS-032175 X 33 as an assembly. It also is not showing in the view and yet the visibility is checked. AI2012 SP2
View 1 Replies View RelatedI 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 RelatedHave 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.
I am trying to use the Browsernode.addchild method to add an occurence to an empty browser folder. The code fails at this point and I gett an error pointing to the line "Call oTargetNode.AddChild(oSourceNodeDef)". I can add the occurence with the browserpanes.Reorder method without issue if the folder is not empty. The code is pasted Below.
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 29338 StartFragment: 314 EndFragment: 29306 StartSelection: 314 EndSelection: 314
SyntaxEditor Code Snippet
DimPrcsTpAsStringPrcsTp=InputListBox("Process Type?", MultiValue.List("ProcessType"), Parameter("ProcessType"), Title :="Select Process Type", ListName :="Process Type")DimRtgNameAsStringRtgName=PrcsTp&"-"&Parameter("NoRtgsInc")+1MessageBox.Show(RtgName, "Title",MessageBoxButtons.OKCancel)DimoAsmAsAssemblyDocument=ThisDoc.DocumentDimoMatrixAsMatrix=ThisApplication.TransientGeometry.CreateMatrixDimoOccAsComponentOccurrenceoOcc=oAsm.ComponentDefinition.Occurrences.AddVirtual(RtgName, oMatrix)DimoCompDefVirtualAsVirtualComponentDefinition=oOcc.Definition'CREATE AND SET THE
[code]....
When I press F1 Inventor opens the help on my default browser (Chrome), but when I click the bynocular it uses Internet Explorer.
Is it possible to force Inventor to use a browser of my choice or the default browser?
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
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.....
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 RelatedIs 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?
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?
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.
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 RelatedIs 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.
I am looking for something a lisp or program that would do a light point by point of fixtures in a plan.
[URL]
how to add custom browser views to the project browser window. See the attached image
View 1 Replies View RelatedI can't find the preferences for changing the default browser than opens when previewing an animation.
View 2 Replies View RelatedI cannot share photos from my Elements 8.0 Organizer via email. The program does not recognize that I have an email program loaded. The computer is a new HP desktop with Windows 7 Home Premium Service Pack 1 operating system. My Elements 8 does everything I need except for the photo sharing so I don't really want to purchase a new version.
View 1 Replies View RelatedWhen I'm gonna write my program stops and appears a box that says Run time error and close my program. What is that, what I coul do?
View 1 Replies View RelatedI can't get the content browser. I tried all keys (Ctrl+4, Ribbon,Tool) nothing works even after a complete shut down and a restart.
View 1 Replies View RelatedWhen you place a part (let’s say structural steel part) from content center as a custom part and later change the part size, the browser still shows the old part name which makes it very confusing when scanning through the browsers when you're trying to find something. It makes it almost unusable if you can’t trust the description. How do others handle this? I know about browser rename but that won't work because it defaults back when you close and reopen.
View 4 Replies View RelatedI am getting the i symbol in front of my 3D sketch in the browser bar. Unlike a 2D sketch which I can open and run sketch doctor, I am unsure how to resolve issues with this sketch.
View 1 Replies View Relatedi create a new material and i do it active. I cant go to browser for an image to be used as a texture map.
View 2 Replies View RelatedSome client asked to me to realize a web application that should be able to
- acquire dwg/dxf file via http upload
- display the content of a dwg file in a web browser
- detect and move / change some item (walls, windows, etc.)
I didn't find any javascript library, and the only thing that comes to my mind is to convert dwg/dxf into svg.
I have used it 1 time and now it will not appear on the screen. I have tried rmat, material brosweropen. I may have moved it off the screen, how to move it back?
View 2 Replies View RelatedI have many symbols next to the bolted connections in my browser in Inventor 2013 which I do not see changing. what these stmbols mean and why there are there ?
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)