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

ThisDrawing.GetVariable("DWGNAME")

2 REPLIES 2
Reply
Message 1 of 3
IT_Studio
1520 Views, 2 Replies

ThisDrawing.GetVariable("DWGNAME")

How do I do this in .NET?

VBA:
strDrawingName = ThisDrawing.GetVariable("DWGNAME")

without using AutoCAD.Interop

Thanks for any help...
2 REPLIES 2
Message 2 of 3
gilseorin
in reply to: IT_Studio

imports Autodesk.AutoCAD.ApplicationServices

Dim strDrawingName As string = Application.GetSystemVariable("DWGNAME")
Message 3 of 3
IT_Studio
in reply to: IT_Studio

Thanks, that did it!

><> Steve

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