Usage of SetAddToDB and SetDisplayWhenAdded

when we set ModelDoc2::SetAddToDB =false, can we setModelDoc2.SetDisplayWhenAdded = false?

if we set like above, what problems can occur?

can anybody help?SolidworksApi macros
Comments 1
SF
SF 2009-07-16

Hi Vimal,

     I've used both of these to speed up macro operations then return them to their original state when the macro is complete. The biggest concern is not turning them back on. If you don't you risk your entire session of SolidWorks not working the way you want (display and elements not being added).

Basically, if you turn them off, turn them back on as soon as you can.

Does that help?