AnsweredAssumed Answered

Run macro on drawing view

Question asked by Harold Black on Feb 21, 2019
Latest reply on Feb 21, 2019 by Harold Black

I have a drawing view which I would like to run a macro on. Some background information first. I have completed code that returns the total lengths of structural members from a part file or an assembly file. In my main subroutine I have conditional statements to check if GetType is a part, assembly, or drawing. I need to be able to run a check on a drawing view for parts and assemblies. A drawing view may have just a part or it may have a part and an assembly. What would be the proper way of performing this check?