.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
System Variable : Background Plot
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
325 Views, 2 Replies
07-27-2005 07:39 AM
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.
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.
Re: System Variable : Background Plot
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2005 09:39 AM in reply to:
Chris Ludtke
In lisp : (setq value (getvar "BACKGROUNDPLOT"))
(setvar "BACKGROUNDPLOT" 0)
In vb.net:
Autodesk.AutoCAD.Interop.AcadDocument.GetVariable and
SetVariable methods.
Chris Arps
(setvar "BACKGROUNDPLOT" 0)
In vb.net:
Autodesk.AutoCAD.Interop.AcadDocument.GetVariable and
SetVariable methods.
Chris Arps
*Glenn Ryan
Re: System Variable : Background Plot
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2005 04:51 PM in reply to:
Chris Ludtke
Autodesk.AutoCAD.ApplicationServices.Application.G etSystemVariable 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
SetSystemVariable
In lisp : (setq value (getvar "BACKGROUNDPLOT"))
(setvar "BACKGROUNDPLOT" 0)
In vb.net:
Autodesk.AutoCAD.Interop.AcadDocument.GetVariable and
SetVariable methods.
Chris Arps
