realestatevilla.blogg.se

Layouteditor polygon macro
Layouteditor polygon macro







layouteditor polygon macro

So you have to trick LT sometimes, It really needs your layer being set to current first and relies on you not drawing close to other objects that use the same layer or it might swallow them up. In a macro you can pause for user input as often as you want, the only drawback is you have to use that user input there is no way to quit early and have the rest of the macro carry on, it just stops at that point if you cancel out. However, I have had a look and this only seems possible in LISP?Īny help would be extremely appreciated on this. It seems to me that all my problems would be solved if I could pause for user input infinitely on the polyline command until the line is drawn and the command is finished. Whilst this version solved the layer issue, it created another issue - if I use this to create polylines on my 'AnalogueVideo' layer, if i were to then use another version of the macro for another layer, the last 'AnalogueVideo' polyline I drew will be changed to the second layer. The above still works OK, but as before, it needs an initial previously selected polyline to work. *^C^Csetvar filletrad 2 fillet p last change last p layer AnalogueVideo _pline My second attempt solved the layer setting issue (in this instance I have my 9 layers already set up in the template, so no layer creation is required): This also leaves me on the layer that I make in the macro, ideally I would have my default layer set back to '0'. The above works OK, but it needs an initial previously selected polyline in the drawing to work. *^C^Csetvar filletrad 2 fillet p last -layer m AnalogueVideo c Green _pline We have around 9 layers that we will be putting these polylines on, so my intent was to make an individual macro command for drawing a filleted polyline onto each layer. What I am essentially trying to achieve is the following:ġ) Draw a polyline of an unknown amount of points (can range from 4 points to 10 points)Ģ) Fillet said polyline with a radius of 2ģ) Set said polyline to one of a specific set of layers So, I am currently working on a macro in AutoCAD 2014 LT to increase drawing efficiency for our company.









Layouteditor polygon macro