- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im trying to emulate a practise that we have for our revolved bodies. The base view is created on its side (see attachment) and then we use breakout to select what must be the mid point (or maybe end point?) of the end curve. This then creates what looks like a section view, without the need for the original end view.
My problem is i dont understand the DepthSource parameter. I think im correct in saying i should be picking this as a Geometry Intent object but i keep getting an error. I tried setting it to item(1).centerpoint/midpoint but then i get a type error.
Also what is the best way to identify which drawing curve is which? I was trying to look for an example of a selectset that would allow me to pick the line then report the item number but i'll need to spend some more time for this. Right now im just guessing its item(1) as it lists them left to right?
'Create a profile then revolve it Dim oProfile As Profile Set oProfile = oSketch.Profiles.AddForSolid 'Dim oDCurve As DrawingCurve Dim oDCurve As GeometryIntent Set oDCurve = oView.DrawingCurves.Item(1) 'Add break out view Dim oBreakOut As BreakOutOperations Set oBreakOut = oView.BreakOutOperations.Add(oProfile, oDCurve, 0, True)
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
Solved! Go to Solution.