- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@cadffm wrote:
@Anonymous
But there should be a Lispfunction to do that (and as last option, it's possible to wrote one).
We can run a short test if you like, but i am not the one who wrote whole programs for others
Copy this line to text EDITOR
(layerstate-restore "[XREFNAME]__[LAYERNAME]" (ssname (ssget "_X" (list'(0 . "VIEWPORT")(cons 69 (getvar 'CVPORT)))) 0) 4)
Open your main file
Edit: Change the red part to the XRef layer state name
For example, My XRefname is TEST and the layer state name is 123,
in your main file the XRef layer state name is: TEST__123
right?
OK:
(layerstate-restore "TEST__123" (ssname (ssget "_X" (list'(0 . "VIEWPORT")(cons 69 (getvar 'CVPORT))(cons 410 (getvar 'CTAB)))) 0) 4)
Copy to clipboard your edited line [CTRL]+[c]
Go into your viewport, paste your line [CTRL]+[V]
and?
Sebastian