How can I copy a sketch from a Subassembly to another Subassembly?
The code workes fine when I copy the sketch from the Topassembly to an Subassembly.
objOccurrence1 = objOccurences.Item(2)
ObjLayouts = objDocuments.Layouts
ObjLayout = objLayouts.Item(2)
ObjDocuments.CopySketch (ObjLayout, objOccurrence1, False)
I tried following, but it doesn't work.
objOccurrence2 = objOccurences.Item(3)
ObjLayouts = objOccurrence2.Layouts
How can I access the Layout from an Subassembly or Part?
Posted by: GakuseiPost date: 9/6/2012 1:17:22 AM