Hi
Does anyone know why this doesn't do what it's meant to?
swApp.SetUserPreferenceIntegerValue swDxfMultisheet_e.swDxfActiveSheetOnly, True
Similarly this:
DXFOptionsActiveSheetOnly = swModel.GetUserPreferenceIntegerValue(swDxfMultisheet_e.swDxfActiveSheetOnly)
...doesn't seem to return a result that's related to anything.
I'm currently running SW 2008 SP4.
Thanks
SolidworksApi macros
swApp.SetUserPreferenceIntegerValue
will change an vaule in the options
swModel.GetUserPreferenceIntegerValue
will get an option set of the swModel
DXFOptionsActiveSheetOnly = swModel.GetUserPreferenceIntegerValue(swDxfMultisheet_e.swDxfActiveSheetOnly)
will return
you need to Dim DXFOptionsActiveSheetOnly as SwConst.swDxfMultisheet_e
then it will return
will the get will tell you is what the currert setting is.