Whenever an element is selected you can read the properties and fill the grid with the data you stored. Just wanted to mention, that it is known to me.įor your desires, I recommend you to build a palette with a grid or a listview, but grid seems to be much more comfortable to the customer. It is completey drawn in 2D (in opposite to the first sample). All the stuff is stored in an Oracle or MS SQL Database. For that we're using AutoCAD Map 3D and its former TOPOBASE technology. Team A and C need no AutoCAD.Īt my day job I'm an AE supporting and consulting energy providers to document and visualize the networks of gas, water, waste water, heating and electricity. All the equipment (switches, lamps, sleeves, conductors, ducts) is managed by team A, team B is construction in AutoCAD using the allowed equipment for the certain project and team A and C can summarize and analyze the network, creating reports and offers. Meanwhile all the construction is done in AutoCAD and all the management is done in a webframe based on MySQL. I built some construction and analyzing tools for a long-term partner who is developing and supporting lightning/illumination planning for ships for transportation. In General 2D is easier for designers today. No 3D database equipment and no one wants to create it 3D plan is not always possible to perform-say an existing oil plant, where it is necessary to pave the track.
#Autocad lisp entsel nil how to#
not everyone knows how to work in 3D-can not be trained. I want to build a track, arrange the equipment as a result of getting the length, quantity, schemes and reports, as well as simultaneously select the cable channel and other equipment.Ī big problem in 2D and 3D. From closest, that is similar : or EPLAN. In the properties and record their data from the database or by yourself. (setq cord (vlax-curve-getClosestPointTo vla_line n_pt nil)) (command "_rectang" (list X1 Y1 0) (list X2 Y2 0)) I change the circle to a square, point to the object-get the properties. While I do not know how - trying to implement as Lee Mac. I want to achieve a certain SPDS-without proxy-graphics.That is: clicked on the object (without calling functions) and in the palette got properties that can be changed. I am sure that I am doing something wrong, but the form starts and the program works - it satisfies me. I cannot go more into detail as long I do not know where you need help.
#Autocad lisp entsel nil code#
* the controls that invoke modifications to the drawing database should be set to EventInvoke=AllowCommand to execute code asynchronously * you have to consider the events of changing active document and closing autocad * the program does not stop at dcl-form-show There are only a few things different between model and non-modal forms (modeless form, toolbar, palette): When I had built OpenDCL projects in the past I never used listbox because I always needed much mor information. Then I'd prefer a grid or listview instead of a listbox. When I understood it in the right way you want to get noticed when an object gets selected in the current space to display/modify xdata of an entity. Maybe there are other examples or ready-made solutions in the palette? The task is simple for me right now: select an object and show and change its properties in the palette (I mean extended data). In the opendcl examples, there is no explicit example for the palette - only visual design. Quote from: tujn08 on October 03, 2018, 09:27:09 PM -this code is almost all of the example. As to the value of Boxlist from the palette and edit