- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
per the attachment, I can't seem to get the centerlines on the vertical holes. here is my code...
AutomatedCenterlineSettings oSettings = cSE.oIDraftDoc.DrawingSettings.AutomatedCenterlineSettings;
oSettings.ProjectionParallelAxis = true;
oSettings.ApplyToCircularPatterns = true;
oSettings.ApplyToWorkFeatures = true;
oSettings.ApplyToHoles = true;
cSE.oIBaseView.SetAutomatedCenterlineSettings(oSettings);
cSE.oISectionView.SetAutomatedCenterlineSettings(oSettings);
any thoughts?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Missing?
oSettings.ApplyToCylinders = true;
EDIT:
Is the section plane not parallel to the hole center line?
R. Krieg
RKW Solutions
www.rkw-solutions.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
if created with a revolve feature, you also need
oSettings.ApplyToRevolutions = Tre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
apply to cylinders had no effect. The centerline is on the XY plate (see attachment).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm betting it may have to do with these settings (within the AutomatedCenterlineSettings):
CircularEdgeMaximumThreshold
CircularEdgeMinimumThreshold
We don't normally need to use those settings, but this may be what they are there for.
Wesley Crihfield
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@WCrihfield these setting are used for radiuses.
The problem is the hole definition on a cylindrical surface.
Probably inventor has difficulties to recognize the hole. I think you need to add the centerline in a different way, because automated centerlines won't give the required one.
i created a little part as test, and when i use a small flat face it generate centerlines.
Maybe an idea for the idea station to add support for holes on cylindrical faces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Your absolutely correct. I changed it to a projected view and it recognized the vertical holes but not the horizontal holes. I'll just create them manually, but it would be nice if this was fixed. thanks for the replys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Yep. I did the same just after posting. Created a similar model, created the drawing with 5 views, one of which was a section view sliced down the center. No matter how I set every possible setting, it would not put the center lines in every location I wanted. This all seems very familiar too, like I've dealt with it before sometime, but I can't find where or how right now. I have even created centerlines/centermarks on rectangular punch features in drawing views of parts before, but that was something planned for, not for general use. We would most likely have to do a bit of a deep dive into the view's geometry objects, checking what features made them, then maybe using centerline bisector's or similar. That seems a bit too inefficient though for most cases.
Wesley Crihfield
(Not an Autodesk Employee)