Search the Community
Showing results for tags 'automatic labels'.
-
Modification to a Lee Mac Auto-labeling Lisp
eyeofnewt555 posted a topic in AutoLISP, Visual LISP & DCL
Hey guys, So thanks to Lee Mac, I've got this stellar labeling LISP that works for a variety of situations. I need help throwing one more situation into the mix. I'd like it to have different behavior when labeling the block named "Symbol - Tree CRZ". Within this block, there is a User Parameter called "PercentImpacted" that uses an expression based on other user parameters to return a specific value. For this block, I need the leader text to say: "[Value from PercentImpacted parameter to 1 decimal place] + "% CRZ" Ex: I'd like the leader to work how the hatch component of the LISP works, wherein it asks for the user to specify the arrowhead location, rather than auto-starting at the block insertion point. And it should still allow for pickfirst action like the block labeling component does. Mega bonus points if there's a way to make the value in the leader a field that would update if the value of the user parameter changed. If pulling data directly from user parameters like this isn't possible, I can add an attribute that pulls the value from the parameter, and then the label could pull from the attribute. And commented code would would be awesome so I can unravel what does what. Trying to learn, slowly...-
- lee mac
- dynamic block
-
(and 2 more)
Tagged with:
-
I'm trying to automate our work flow. I need to be able to place incrimental numbers for which I've found Lee Mac's numbering suite.http://www.lee-mac.com/numinc.htmlhttp:// I am placing numbered lamps for a lighting control network.Every lamp in the network has a unique number (from the numbering suite). I am trying to automate the creation of nodes. Each control channel fed from a controller can manage around 50 lamps, so the control line is wired from the main controller to a number of network boxes each of which can accomodate a maximum of 8 lamps. I am looking to create a tool which would group 8 lamps together automatically and insert a numbered network box in between them. If posible I would also like for the connecting wires to be drawn automatically so I can build a network by simply placing lamp numbers over drawn lamps on an architectural drawing. Meanwhile all this information needs to skim off into an excel sheet or some other database so I can automate the creation of quotes and bill of materials based directly on the current design. However I'm pretending that isn't a problem yet and just trying to make the drawing part automatic. Any help on this would be much appreciated. I will be able to design schemes in a couple of hours rather than a couple of days if this is posible......?
- 2 replies
-
- network nodes
- data extraction
-
(and 2 more)
Tagged with: