AutoCAD Inventor :: Sketch Visibility Of Part In Assembly Using Vba
Dec 11, 2013how to turn off the visibility of a specific sketch (ex. base_Sketch) of a certain part in assembly using vba?
View 3 Replieshow to turn off the visibility of a specific sketch (ex. base_Sketch) of a certain part in assembly using vba?
View 3 RepliesI can't seem to find how to use the Inventor 2012 API to project an entire sketch profile from one .ipt to another .ipt file from within an .iam file.
i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013
I am patterning a sub-assembly which has a reference part that is not visible in the sub-assembly. I'm driving this sub-assembly with a quantity parameter and when addition instances are created, the hidden part turns visible. I can bring the sub-assembly in multiple times and the parts remains non-visible, however, once I pattern it, the part shows up in all instances except for the original.
View 1 Replies View RelatedI want to be able to hide a part of an assembly in one projected view of the 2d drawing but not all, however when I do so the hidden lines stay hidden lines. They do not change. I know you can change the hidden line properties to make them continuous lines but is there a setting that will allow these lines to change automatically?
View 9 Replies View RelatedI am using Inventor 2014. I have a sketch on a part that does not show up when I put the part into an assembly. Any way to make the sketch show up in the assembly? It is a 3d sketch that is projected to a surface.
View 1 Replies View Relatedwhat im trying to do is select a face in an assembly and create a sketch on it in the part level
this is just one step in the program im trying to make the overall program will create a tube frame and the tubes will be driven from a base solid
Sub test1()
Dim asmDoc As AssemblyDocument
Set asmDoc = ThisApplication.ActiveDocument
Dim asmDef As AssemblyComponentDefinition
Set asmDef = asmDoc.ComponentDefinition
[code]......
Unfortunately, it's chock full of proprietary customer data, so I can't share the parts or the assembly. But I can pretty well explain what needs to happen, and I've attached a JPG that shows a bit of what I'm doing.
I need to design a bracket to hold an RPM sensor at a certain gap to a spiral bevel gear. I've got a huge assembly model (non-Inventor) from the customer, as well as the model for the sensor. My plan is to start a master IAM, insert the customer assembly, insert the sensor and constrain him, and draw the various hardware I need around the sensor.
So I start by making a work plane that matches the bevel angle and is in a location so the end of my sensor will be flush to that plane. Create a sketch on that plane, then project 2 relevant axes to create the appropriate "origin" from which my location will be based. Place a point on one line, at a certain radial distance and constrain my point.
So now I've got a point and a plane that are where I want my sensing face and my centerline axis to be. What now? I was thinking that I'd create a work axis "normal to plane through a point", but this workflow isn't available in the assembly environment. I can't constrain a solid to a sketch point, so I really don't know what to do at this point in order to put the part where I need it.
I need converting imperial dimensions into metric in assembly as weell as part level sketches dimensions.
Any solution for converting all imperial dimensions to metric dimensions in whole assembly constraint level and as well as part level sketch dimensions. Any macros or any ilogic rules?
How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?
I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations. Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.
I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist. I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.
I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way. I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option. I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.
I sometimes edit parts in assemblies. When I turn sketch visibility on or off it does not stay the way I left it. I should be able to edit a part in part view or assembly and the view setting off or on should be how it was last saved. If I saved an ipt with the vision it should be on in any & all assemblies it lives in but its not. I have noticed the difference in new version 2012 - 2011 was no problem.
View 1 Replies View RelatedI have a sketch that has visibility on. In 2013 I can't find the turn visibility off.
View 3 Replies View RelatedAs we have layers in AutoCAD Product, I Started using different sketches and using them as layers by turning the visibility on and off.
Can we write a macro (button Click) to turn one perticular Sketch on and off???
For example If I had a Sketch named as GROUNDFLOOR, can I use a macro to turn them off and on when needed?
I have three sketches. Two are 2D sketches and the third is a 3D sketch created by the intersection of two surfaces created from the previous two 2D sketches. The order of the browser is as follows:
Sketch1
Sketch2
Revolution (surface)
Extrusion (surface)
3D Sketch 1
When I go back to edit Sketch 2, Sketch 1 is always showing...regardless of whether or not I turn on/off visibility. The visibility toggle has no effect. Sketch 2 has no projected geometry from Sketch 1.
Why, when I edit a sketch in context of another assembly do sketches of other parts suddenly become visible?.
Autodesk Inventor 2013-64Bit Edition
Intel Xeon W3520 @ 2.67GHz
Win 7 Pro
6.7 System Rating
NVIDIA Quadro FX 1800
I added another extrusion profile to my structural shapes library, using the same method as the others a few years ago. It works, but the new extrusion now shows up with its profile sketch, start and end planes, and driven dimension visible. The old stuff doesn't (like I would expect). I have all planes in the published part turned off, not marked for export, etc., just like in the old ones. How do I turn this off? Inventor 2012 SP2.
When I open the extrusion separately, the work features to not display. But, the it's also shown as the "default" color not as material. Why does it default to "default" not "as material" like everything else?
How do I turn sketch visibility on and off using ILogic rules.
View 3 Replies View RelatedI'm doing a fairly big one-off for use at our factory so am going the multibody ipt route. I have a design view setup within the ipt with nearly all solids switched off but when working within a sketch this seems to be ignored. I want to make sure I am projecting from sketches not bodies so if I need to tweak things later and bodies change the model won't fail.
I.e. the bodies all become visible when working in a sketch where as before going into the sketch the bodies weren't showing.
IV2014 SP1 64bit
Dell Precision T7500, Geforce GTX 480, DirectX11 306.97
SpaceExplorer 4.04, 3DxWare 3.12.2
Twin Intel Xeon E5506 2.13GHz, 12GB RAM, Win7 Pro SP1 64bit
I've managed to cobble this code together to turn some sketch visibilities on and off. However, what I'd really like to do is have a single sketch containing some blocks, and turn the visibility of the blocks on and off... How to call the blocks -
'Iterate through the sketches collection'Turn the edging indicators On And Off
For Each oSketch In oDoc.ComponentDefinition.Sketches Select Case
oSketch.NameCase "Front Edged"If E01 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Top Edged"If E02 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Back Edged"If E03 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Base Edged"If E04 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfEnd SelectNext
Why is dimension visibility grayed out in the sketch context menu shown in the attached image?
View 3 Replies View RelatedDear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.
View 3 Replies View RelatedI`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
I would like to simplify this assembly into one seamless part for FEM calculation:The assembly consists out of parts that, in reality, will be welded together. Due to their form, there is no way to place them exactly onto each other, therefore there are slight gaps between the parts:
Now when I try to merge the assembly into one part via "simplify" --> "create simplified part" and choose "single solid body with seams between planar faces merged", Inventor does not fill these gaps (even though it displays only one part in the bottom right corner of my window). Unfortunately, the remaining gaps brings "contact" problems in the FEM simulation.
how to close the gaps and really merge the assembly into one part?
New user 2014
Part created in assembly does not update to part file.
I have a part that has protrusions. When i mate that part up to another part that second part needs to have cutouts/holes to receive those protrusions.
i mainly use it in sheetmetal parts. and use the rectangular protrusions on de contour to mate up with corresponding cutouts in the other sheet. this works with positioning and also makes for a nice weld spot/area.
But also for making holes to accommodate a mold pin used in custom punch dies. I want the intervening part to receive a corresponding (propperly tolleranced) hole automatically. Much like a bolted connection does.
same for parts like circlips. i want them to automatically generate the seat in the part it's mated to. Rather than using the axle generator.
Ofcourse one can place the parts and do an in assembly interpart projection and go from there, but i want the part to generate the (predifined) modification to the other part. It would save time and also reduces problems as the parts are moved about or even removed.
I have an assembly with 10 parts in it. We use many assembly features at the assembly level (Revolve cut, Extrusion cut..etc). How to find the mass difference of each part by comparing at its parts level and its assembly level.
View 1 Replies View RelatedI have a two part duct fire damper assembly. The IDW has the combined two part assembly, which I know how to turn the CoG on, so that it can be dimensioned. The problem is each piece will more than likely be hoisted separately so I would like to show the CoG for each piece, not the combined master assy.is there a way to do this?
Inventor 2014
Windows 7 Pro SP1
Intel(R) Core(TM) i7-3770k CPU @ 3.50GHz
16GB RAM
NVIDIA Quadro 4000
3D Connexion SpaceMouse Pro
If I want to find part which is inside another part or assembly, which means no matter how I turn camera, I always cannot see that part.
Does inventor has this function? Or is it possible to develope by .NET API?
Why when I mirror a part in an assembly the mirrored part gets a new part number? I want to mirror only the position of the part which is always the same part. Is it possible to do that in Inventor?
View 7 Replies View RelatedThe client I have has 1 seat of factory Ultimate and 8 seats of factory premium.
The issue is the premium seats have an issue when you turn the visibility off on a part in the IPN you cannot turn it back on. This is on all the seats of the premium. There is no issue with Ultimate.
The service pack did not fix the issue. Now I know Autodesk there will never be a fix for this unless I up-grade seems to be the Autodesk way in the past 3 years.
Is there anyway that i can disable visibilty for ALL of the sketches under an assembly in a Assembly Layout? I have multiple assemblies (sub -assemblies) that im putting together into one finale assembly and everytime i unhide a sub-assembly, ALL of the sketches in it apear visible so then i have to painstakenly go throught every sketch and hide it. It takes for ever!
View 4 Replies View RelatedI am working on an assembly and idw, and my assembly has a number of reference parts in it. Two patterns of reference parts are not appearing in the idw for some reason.
I can get them to appear by changing the view style to show hidden lines, and then the hidden lines appear and solid lines for all except the first instances also appear. When i turn off hidden lines, the hidden lines disappear leaving the solid lines of all but the first instances. Then if i change the reference data line style to try and show all the lines, they all now disappear again.