Use something like this:
ThisDrawing.Sheet("Sheet:2").View("Part1").View.Suppressed = False
Now if you’re throwing your representations on to a sheet (no matter if they are flat patterns or isometric who knows what) they will have a view name that you give them on creation. You can see what this view name is (AKA: View Identifier) when you double click on them (Right click à Edit View), and look at the bottom.
In the case above, I am looking at a View Identifier called Part1 on the sheet called Sheet.
Note that when you change the View name of your representation, you will need to update the rule to follow that!
Note 2: ALSO please look at the wording of the above code! See how it’s asking if the state is suppressed unlike how it states the suppressed (IsActive) state for the assembly. The above code is saying that it’s NOT suppressed.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register