I need a macro to delete display states in Assembly file.
Just select the display state and hit delete - why you need a macro for this simple task
if you must use macro for this task, here is the sample : value = instance.DeleteDisplayState(DisplayStateName)
Thank you for your replay, i need it because i have a lot of assembly files,every file has 8-10 display states. and i want to combine this macro with another macros.
Ok then set value = true is the statement
swModel.DeleteDisplayState("Display state name")
Retrieving data ...