![]() ![]() PEndLabel.TranslateBy(tg.CreateVector2d(0, -2 * 2.54)) Pnt2 = skSection.SheetToSketchSpace(pnt2)ĭim lSection As SketchLine = (pnt1, pnt2)ĭim vEnd As SectionDrawingView = (vSide, skSection, pntEndView, DrawingViewStyleEnum.kHiddenLineRemovedDrawingViewStyle, CDbl(1 / 40))ĭim pEndLabel As Point2d = Pnt1 = skSection.SheetToSketchSpace(pnt1)ĭim pnt2 As Point2d = tg.CreatePoint2d(vSide.Left - DimOffset, vSide.Top - vSide.Height - DimOffset) When it faces the wrong direction, the program will continue to create dimensions, and they will have a 0 point connection, and fail, and the Inventor application becomes unstable and sometimes crashes.ĭim pntEndView As Point2d = tg.CreatePoint2d(6 * 2.54, 6 * 2.54)ĭim skSection As DrawingSketch = ()ĭim pnt1 As Point2d = tg.CreatePoint2d(vSide.Left - DimOffset, vSide.Top + DimOffset) I don't know how to force the section direction via code. ![]() don't seem to get it, Inventor is randomly choosing a direction for my section view with each different drawing. Click the link below to see examples in action for everything else it can do. It REALLY helps to see this in person… There’s a very simple screenshot below, but there’s MUCH more it can do. ** Note that this should be extended to support as many languages as possible, not just those listed in the quote above.* VS10x Comments Extender will interpret these prefixes and format the comment accordingly. How does it work? Well, when you start a comment with // (C#, C++, F#) or ’ (VB), you can add some extra characters (minimum one, maximum three) in order to define how this comment will look like. It allows you to setup custom formatting for comments that are typed in a certain manner. One of my favorite extensions for Visual Studio is called VS10x Comments Extender. ![]() If anyone think this idea is as awesome as I do, please run with it! However, I know some of you guys are gurus. I know next to nothing about Python - but I love learning new languages, so I’m going to dive in this week and see what I can figure out. I posted this on the UserEcho site as well, but it might make more sense to make this a plugin instead. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |