.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

System Variable : BackgroundPlot

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
920 Views, 2 Replies

System Variable : BackgroundPlot

The 2006 .Net API allows you to modify a subset of the system variables. They are made available as properties of the "Autodesk.Autocad.DatabaseServices.Database" object.

Is there a way to query and set the value of a system variable that is not part of the subset that is included in the API?

Is there a simple way to query / set the value via a lisp statement ?


I am interested in quering and modifying the values of "BackGround Plot"

FYI : You CAN NOT use the .Net API to plot to a file without changing this varible to "0". Nasty things happen if you try.
2 REPLIES 2
Message 2 of 3
ChrisArps
in reply to: Anonymous

In lisp : (setq value (getvar "BACKGROUNDPLOT"))
(setvar "BACKGROUNDPLOT" 0)

In vb.net:
Autodesk.AutoCAD.Interop.AcadDocument.GetVariable and
SetVariable methods.

Chris Arps
Message 3 of 3
Anonymous
in reply to: Anonymous

Autodesk.AutoCAD.ApplicationServices.Application.GetSystemVariable and
SetSystemVariable

wrote in message news:4912552@discussion.autodesk.com...
In lisp : (setq value (getvar "BACKGROUNDPLOT"))
(setvar "BACKGROUNDPLOT" 0)

In vb.net:
Autodesk.AutoCAD.Interop.AcadDocument.GetVariable and
SetVariable methods.

Chris Arps

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost