Hi,
I need to turn on and off the visibility of sketches in part file. I have views set in the part file that have the visibility of sketch "A" on and sketch "B" off in view A and sketch "A" off, sketch "B" on in view B.
I want to use iLogic to switch between views in a model.
view and capture current state of a view are available in the model tab of the editor but nothing happens when I attempt to capture the state of view "A" ect...
is there anyway of doing this?
Thanks in advance.
Solved! Go to Solution.
Solved by mrattray. Go to Solution.
"I want to use iLogic to switch between views in a model." (your desire seems clearly stated)
A prudent ansewer to this would be: "double click on the view to switch, why use iLogic?"
So I am assuming you want to do something else, please clarify what exactly you want to do.
T.S.
Dim oAsmCompDef As AssemblyComponentDefinition oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition oAsmCompDef.RepresentationsManager.DesignViewRepresentations.Item("MyViewRep").Activate
The project is for a "configurator" that will be used by several people. I am attempting to ensure that only pertanent information is desplayed to the user given data entry to a form.
mrattray has your solution then.
after you activate the view rep, then set the sketch visibility as you wish, and activate the next view rep and do the same.
T.S.