Mike,
When I utilize the rule for the first time everything work properly. The layers change according as planned, however I am noticing after I assign dimensions and leaders and have all the drawing views completed the rule stops working. When I manual run the rule I receive errors. I have listed those errors below, please let me know what you think. Thank you
Rule Compile Errors in Assign Layers, in Laundry Room.dwg
Error on Line 3 : Class 'LmiRuleScript' must implement 'Sub Main()' for interface 'Autodesk.iLogic.Interfaces.IRuleInterface'.
Error on Line 25 : 'Public Sub Main()' has multiple definitions with identical signatures.
Error on Line 36 : 'Public Sub ChangeLayerOfOccurrenceCurves()' has multiple definitions with identical signatures.
Error on Line 49 : Statement cannot appear within a method body. End of method assumed.
Error on Line 49 : 'Public Sub Main()' has multiple definitions with identical signatures.
Error on Line 10 : 'drawDoc' is already declared as 'Private drawDoc As Inventor.DrawingDocument' in this class.
Error on Line 12 : 'Public Sub ChangeLayerOfOccurrenceCurves()' has multiple definitions with identical signatures.
Error on Line 25 : Statement cannot appear within a method body. End of method assumed.
Error on Line 34 : 'drawDoc' is already declared as 'Private drawDoc As Inventor.DrawingDocument' in this class.