DrPipes
Mechanical
- Apr 19, 2004
- 4
I'm having problems creating a toolbar macro.
I want to change layers, insert a block (for a custom leader arrow) and then spline the leader line.
This works to just insert the block and draw the leader:
^C^C-i c:/plbg/l3.dwg ^C^Cdimldrblk L3 qleader;
When this is done, I don't see the block inserted, it just draws the leader and I can rotate it to any angle I want, but I have to hit the spacebar to change to spline, and it draws it on whatever layer I'm on.
This makes the layer, moves to it and inserts the block but I have to hit enter to get past the rotation angle, scale factor and then it stops with the leader arrowhead inserted with no tail... Also need to figure out how to make it spline without hitting the spacebar:
^C^C-l m p-text c 6 ;;; -i c:/plbg/l3 ^C^Cdimldrblk L3 qleader;
What am I doing wrong?
I'm also trying to find a lisp routine to calculate invert elevations. I've looked at every lisp site I can find thru search engines, but no luck. What I need it to do is really pretty simple. When it's started I need to:
Input an elevation
It then would do a qleader from a point I pick and write the elevation.
It would then ask what slope (either 1/8"/ft or 1/4"/ft)and if I want to slope up or down.
Then wait for me to select a point to start calculating from. (starting point elevation +/- (distance * 0.0104 or 0.0208)).
When I select another point it would calculate the drop or rise.
Then it would do another qleader and write the answer, remember that value and wait for the next point to calculate or exit the command.
If somoene could tell me where I could find something similar to that, it would be greatly appreciated.
I want to change layers, insert a block (for a custom leader arrow) and then spline the leader line.
This works to just insert the block and draw the leader:
^C^C-i c:/plbg/l3.dwg ^C^Cdimldrblk L3 qleader;
When this is done, I don't see the block inserted, it just draws the leader and I can rotate it to any angle I want, but I have to hit the spacebar to change to spline, and it draws it on whatever layer I'm on.
This makes the layer, moves to it and inserts the block but I have to hit enter to get past the rotation angle, scale factor and then it stops with the leader arrowhead inserted with no tail... Also need to figure out how to make it spline without hitting the spacebar:
^C^C-l m p-text c 6 ;;; -i c:/plbg/l3 ^C^Cdimldrblk L3 qleader;
What am I doing wrong?
I'm also trying to find a lisp routine to calculate invert elevations. I've looked at every lisp site I can find thru search engines, but no luck. What I need it to do is really pretty simple. When it's started I need to:
Input an elevation
It then would do a qleader from a point I pick and write the elevation.
It would then ask what slope (either 1/8"/ft or 1/4"/ft)and if I want to slope up or down.
Then wait for me to select a point to start calculating from. (starting point elevation +/- (distance * 0.0104 or 0.0208)).
When I select another point it would calculate the drop or rise.
Then it would do another qleader and write the answer, remember that value and wait for the next point to calculate or exit the command.
If somoene could tell me where I could find something similar to that, it would be greatly appreciated.