How to set a TCL variable for drawing?

Guo issac

CAD practitioner
Is there some commands available for set a variable for drawing?

In occt, the command, dset, can be used for set variable and is convenient for drawing.

If I want add a command like dset, myself, is this possible in current Analysis Situs frame mechanism?
Not need a fundamental modification?
Last edited:


Staff member
Do you mean a command to draw some random geometry to the viewer? There's, for example, this "Set as variable" function that creates a drawable primitive, but such primitives normally come out from some other commands, and it's their decision to draw smth or not (e.g., see the make-box command). If you elaborate a bit on the context, I could create a ticket to add the missing functionality, if any.