- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Elevation de/in/crease lisp
Hello
I need a lisp to change elevation.
Situation1: I have 3d poly/line and want to change evevation of some vertexes. I grab first, keying in value -.2 and vertex goes down for 0.2. Grabbing another vertex, keing in -.3 and vertex goes down for -0.2
Situation2: I grab text, keying in -.89 and text's elevation goes down for -0.89
Thanks
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Have you tried the Properties palette Geometry section where you can enter a Z value for elevation?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Maybe you can ask over in the LISP forum.
Rob
Drafting is a breeze and Revit doesn't always work the way you think it should.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@BB8x wrote:
.... want to change evevation of some vertexes. I grab first, keying in value -.2 and vertex goes down for 0.2. ....
.... text, keying in -.89 and text's elevation goes down for -0.89
Are you talking about grip-editing, and by "grab" do you mean you pick on a grip [so that it turns red], whether that's a 3dPolyline vertex or a Text insertion point [or anything else]?
If so, when you pick on the grip it goes into Stretch mode. To change the elevation of whatever it is, you can type in a relative displacement, but it needs all three coordinates, in this case including 0's for X and Y and ending with the Z which will change the elevation. To lower a 3DPolyline vertex by 0.2 drawing units, select the Polyline so the grips are showing, grab a vertex grip, and type in
@0,0,-.2
No routine is necessary. One could be written if that's too much work. But you would need to start the command to use it, by typing its name in, or picking a Tool Palette button, or something. That may be as much work as typing in the @0,0, part in grip-editing, which doesn't require you to be in a command at all.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi All
I understand what you have written about properties and @0,0,... comment, but I have loads vertexes and texts to drop down. Would take days so I need speed up
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Further questions:
In Situation 1, what do you picture as the procedure? You call a command, and the User does...? Select a 3DPolyline first, and then pick on a vertex grip and be asked how much to change its elevation? Pick at a vertex directly, without picking the Polyline first? More than one vertex adjustment within one running of the command? If so, a separate request for distance for every vertex, or all that you select adjusted by the same distance? Etc., etc.
In Situation 2, by "text's elevation" do you mean the Z coordinate of the object's insertion point [that's really easy], or is it about numerical text, and you want to change the number represented by the text's content? [Or both?]
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
the Z coordinate of the object's insertion point [that's really easy] - Yes
or is it about numerical text, and you want to change the number represented by the text's content? - No content change, just elevation