AutoCAD Land Desktop

AutoCAD Land Desktop

Reply
*Lazic, Rad
Message 1 of 1 (43 Views)

Toggle Parcel Preference values

43 Views, 0 Replies
03-13-2002 10:15 PM
Hi,

I am trying to toggle preferences for parcel lines, name and area labels on
import.
I need to import parcel boundaries only, without labels, and then reset name
and area labels back to "on" for normal ALD use.

I couldn't find a solution in the help system and the following code does
nothing to my preferences.

Please advise.

Thanks and regards,

Rad

Public Sub setlot()

Dim LotPrefsObj As AeccPreferencesParcel
Set LotPrefsObj = AeccApplication.ActiveProject.Preferences.parcel

LotPrefsObj.SetInteger kIncludeParcelLines, 5
LotPrefsObj.SetInteger kNumberLabelsOn, 6
LotPrefsObj.SetInteger kAreaUnitLabelsOn, 11
LotPrefsObj.SetInteger kSqUnitLabelsOn, 9

End Sub
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.