CAD/CAM discussion forum > CAD > Style Sheet path using vb coding

Style Sheet path using vb coding

    
  Subscribe Topic

Rank: 1

varadh6309

Newbie

posts: 9

Registered: 2012-10-30

Message 1 of 2

 Style Sheet path using vb coding
14-11-2012 11:06 . pm   |   View his/her posts only
Dear sir.,

How to set the style sheet path using vb coding...


Here i with enclosed the autocad with vb. pls help how it work in zwcad with visual basic code.


********************** Set the Driver Path in Autocad *************************

Acad2000.Application.Preferences.Files.DriversPath = "\\APPSVR\AutoDraft\CAD_UTILS\DRV1"

********************** Set the Printer Cofiguration path (PC3 Files) *************************

Acad2000.Application.Preferences.Files.PrinterConfigPath = "\\APPSVR\AutoDraft\CAD_UTILS\PC316-12-08"

********************** Set the Style Sheet Path *************************

Acad2000.Application.Preferences.Files.PrinterStyleSheetPath = "\\APPSVR\AutoDraft\CAD_UTILS\Plotstyle"



regards

Varadharajannammalvar

Rank: 5Rank: 5

Daniel

posts: 278

Registered: 2012-6-6

Message 2 of 2

22-11-2012 10:52 . am   |   View his/her posts only
I suggest you edit the reg directly when ZWCAD is not running. The path you want to edit is under [HKEY_CURRENT_USER\Software\ZWSoft\ZWCAD\2012\en-US\Profiles\Default\Config]
See also
X