Inhibit command execution

May 4, 2017 command prohibe inhibit inhibit command

Sometimes we are interested in prohibiting the execution of some command of Digi3D.NET to avoid problems that may cause such commands, such as the command GEN, which generalizes a drawing file and may damage the topological vertices existing in a segment. Today we introduce a new command that will allow us to prohibit the execution of commands: PROHIBIT_COMMAND. This command expects us to pass the names of the commands we want to prohibit as parameters. We can run this command as many times as we want or we can override several commands simultaneously by passing multiple parameters. For example, if we want to override the commands G, GEN and COMPRESS, we only have to execute the command:

PROHIBE_ORDEN=G GEN COMPRIMIR

and we will have overridden those commands. You can see this feature in action in the following video:


Back to the blog