AutoCAD Inventor :: Set All Surface Bodies To Invisible

Jul 16, 2013

I found a VBA-code on internet which turn off all work features (plane, axis, points) in all documents in an assembly.

I want to modify it so it turns of all surface bodies instead. I use skeleton modelling where i only want to keep the solids visible and not the surfaces. When I run this iLogic rule all solids get turned off instead of surface bodies.

This code works (when edited) for axis, points, planes, allworkfeatures etc.

'catch and skip errorsOn Error Resume Next'define the active assemblyDim oAssyDoc As AssemblyDocumentoAssyDoc = ThisApplication.ActiveDocument 'get user input as True or FalsewfBoolean = InputRadioBox("Turn all Work Features On/Off", "On", "Off", False, "iLogic")'Check all referenced docs Dim oDoc As Inventor.DocumentFor Each oDoc In oAssyDoc.AllReferencedDocuments 'set surface bodies visibility For Each oSurfaceBodies In oDoc.ComponentDefinition.SurfaceBodies oSurfaceBodies.Visible = wfBoolean Next Next'update the filesInventorVb.DocumentUpdate()

View 4 Replies


ADVERTISEMENT

AutoCAD Inventor :: Create Surface Bodies From Multiple Faces?

Dec 27, 2013

I've currently written an application for SolidWorks that reads file that geometry in the form of faces (ie. 3 or 4 double values that represent triangular and quadirilateral faces).  I am trying to create the same application to work for Autodesk Inventor, but I am having some issues.

First, I am basing my code off from the examples given in the help files.  There's a lot of pointers to objects being to get to the Face creation portion, this seems to be slowing my appliation down considerable compared to the SolidWorks counterpart.  SolidWorks API has a modelling method called CreatePlanarSurfaceDLL that allows me to provide an array of doubles representing the vertex points in order (x, y, Z) for each point, so the array looks like this for a triangle (P1.X, P1.Y, P1.Z, P2.X, P2.Y, P2.Z, P3.X, P3.Y, P3.Z).  Is there anything similar in the Inventor API to simply the process?

Secondly, when using the example, they all have a known "shape" and therefor there are a definied number of vertices, edges, faces, etc.  And when adding the faces, the known points / vertices are used.  In my case, each face contains information for it's 3 or 4 vertices.  I created these using the prescribed methods, but when the final surface body feature is created, and a repair is performed on it, it shows a lot of duplicate edges and vertices.  Do I need to take the time and filter out all of the duplicate vertices, and point to a single vertex that may represent a vertext used by up to 3 or 4 faces?

View 1 Replies View Related

AutoCAD Inventor :: Hiding Bodies In A Drawing?

Jun 28, 2012

I have created a part with multi bodies (concrete block with reo bar), in the drawing I want a view that shows just the reo bar - concrete hidden.  Can this be done?

View 2 Replies View Related

AutoCAD Inventor :: How To Subtract Bodies (parts)

Jul 14, 2012

I am now modeling elements for silicone formwork for casting elements of epoxy resien.

I would like to schow idea of this formwork. For this I would like to make part representing silicone part of this formwork. It is contained in aluminium "cover" for convenience of use.

In assembly I have placed may model, and aluminium elements representing "cover" of formwork.

I am trying now to model silicon but it is quite hard. I can not use "derivered part" method to substract model and cover elements from some big block body because coordinate systems do not mach in all elements.

In Part there is "combine" function but it only works with bodies mabe within this part.

Is it possible to substract one placed in assembly from anothe part in this assemby?

View 9 Replies View Related

AutoCAD Inventor :: Thin Bodies In 2013 FEA?

Aug 23, 2012

what I do need clarification on is the statement in this warning "One or more bodies which are thing being treated as solids". Does this mean that the bodies that were detected fall under the criteria for being a Midsurface or Offset and that the user has the opportunity to apply these commands in order to make the analysis more accurate?  So if I were to ignore this and continue with my analysis, the members will still be treated as a solid and not as a shell and/or surface (which is what the Midsurface/Offset command produces)?  The members I am using that have triggered this warning are HSS 2x2x0.125 x 12' long. 

View 1 Replies View Related

AutoCAD Inventor :: Extruding Bodies Around Parts

Aug 24, 2013

I have been extruding bodies around parts, then using their verticies for the frame generator (to guard around complex machinery.I then suppress the body and am left with the guard frame.

when i go to get the mass for the part, it includes the volume of the solid body which was used to give the outline.how can i turn the material property to zero density?

View 3 Replies View Related

AutoCAD Inventor :: Combine Feature With Solid Bodies

Feb 20, 2013

I have a model with solid bodies. I have used the combine feature to make cuts outs in some plates. The geometry is complex to model so Extrude cannot be used for cuts.

The body used for the combine  can be at different angles and sizes. Due to this some of the combine features will not be needed or have no effect. This leads to the error message:

" The feature as specified did not change the number of faces (and may not have affected the part).  Accept the feature that resulted, or use Edit Sketch or Edit Feature to change the feature definition." Is there anyway to suppress this feature automatically using i Logic?

View 3 Replies View Related

AutoCAD Inventor :: How To Convert 3D DWG Files To Solid Bodies

Jun 25, 2012

How to convert 3d dwg files to solid bodies ?

View 6 Replies View Related

AutoCAD Inventor :: Demote Solid Bodies To Sub Assemblies

Dec 5, 2012

I have an assembly file for a fan casing. We reuse this model and scale it up and doen depending on the size of fan.

For transportation we split the caing into several parts and join using flanges. The number and angle of splits changes depending on the job and geometry.

To model this we share a sketch through the parts and use the split solid command to split them.

I would like to able to create sub assemblies from the main assembly so that drawings and masses can be obtained for the sub assemblies. However, the 'Demote' command does not allow you pick individual solids from a multi solid part.

I have tried creating new parts from the split solids but these are not in the correct location as they are not constrained correctly.

Is there a way to use the Demote command as I am proposing? or is there a different method to split my parts?

View 3 Replies View Related

AutoCAD Inventor :: Moving Attached Bodies Along A Path?

May 10, 2012

I've used the transitional constraints with good results but unfortunatley the cams are moving all over the place when I try to move them by dragging with the mouse and not very stable.

I'm trying to animate a couple of bodies along a path with a workpoint that will move the assembly at the beginning  created using a rectangular array along the path.  I have a UJ in the middle of the bodies attaching them together.  As I change the distance of the rectangular array it will move the first body as expected.  How I constrain the other body to follow along the path with the ride points as labeled?

I've trieds almost everything I think.  Should I use dynamics to simulate this?  I don't have the dynamic installed however is there a way I can get ahold of a test version so I can test this?

View 9 Replies View Related

AutoCAD Inventor :: Edit Solid Bodies Color?

Sep 9, 2013

Is it possible, via VB, to modify solidbodies color ?

Actually, I need to modify part color. But in some cases, the part color and the solidbody color are not the same. So I need to modify the Solidbody color, to match the part color.

I found the bodies in ComponentDefinition.SurfaceBodies, but I can't find something like ComponentDefinition.SurfaceBodies.Item(1).color.

View 3 Replies View Related

AutoCAD Inventor :: Suppress Solid Bodies Using ILogic

Jan 15, 2013

in addition to this question

 [URL]......

What is the code for hiding different Solid Bodies:

with the User Parameter type, I want to select a certain type of Shackle and suppress / hide the other Solid Bodies.

View 1 Replies View Related

AutoCAD Inventor :: Derived Weldment Changes To 2 Solid Bodies

Apr 24, 2012

Open the attached file 207665-124.ipt. how their is only one Solid Body, but the iam needs to be updated because the user added one more part to the assembly.  As soon as it updates now instead of one Solid Body I have 2.  I don't want 2 and this is not typical.  Even if I derive the 207665-120 into a brand new part file, it is only one body. What is causing this to seperate into 2 bodies?  I tried to re-create this from scratch and can't, but he has several files like this that need updates and the 2 bodies causes problems with the holes.

View 1 Replies View Related

AutoCAD Inventor :: How To Make Same Solid Bodies Around Another Body

May 24, 2013

Is there a way to get that long tube and that rectangular part all around that middle circle.

[URL]........

Open this picture. In the end it would end up looking something like that lamp shade. I got one part down so is there a way to get a bunch of those around instead of redrawing it?

View 4 Replies View Related

AutoCAD Inventor :: Convert Solid Into Thin Bodies

Oct 17, 2012

I have a pressure vessel which I am trying to analyse.  Whenever I convert the solid into 'thin bodies', it loses some of the data.  For example, a fillet and a supporting ring (refer to pic attached).  I haven't been able to find any 'shell element' settings to adjust.

Also, I need to manually add contacts otherwise the vessel seperates into multiple bodies.

Even though the solid model is in contact, the 'midsurface' shell seperates it.  Refer to part file attached.

I briefly tried to run the analysis as a solid model, but gave up as it was taking forever just to mesh.

View 6 Replies View Related

AutoCAD Inventor :: Split Multiple Solid Bodies

Oct 18, 2013

I it possible to split multiple solid bodies.  I'm finding that it only allows me to split one body at a time.

View 2 Replies View Related

AutoCAD Inventor :: Move Bodies In Sheet Metal?

May 25, 2013

Is there any particular reason for not able to use move bodies command while working in sheet metal.  Inv 2014

View 3 Replies View Related

AutoCAD Inventor :: Suppression Of Solid Bodies In IPart

Jun 14, 2013

Any way to suppress entire bodies in a multiple solid body part, using iPart, without having to suppress each individual feature for it.  I am on Inventor 2013.

View 2 Replies View Related

AutoCAD Inventor :: Select And Hide Surfaces Or Bodies In Workspace?

Sep 12, 2012

I understand how to select and hide surfaces and bodies using the model tree, but this isn't useful when my part has 50+ surfaces and solids and I'm forced to hover over each surface or body until the surface or body I want to hide is highlighted. This is possible using Soildworks but why not Inventor?

View 6 Replies View Related

AutoCAD Inventor :: Apply Extrusion To All Solid Bodies All Of Time API

Mar 21, 2013

I'm creating a template part to line the inside of a wall with wall boards. All the boards are drawn as an array of seperate solid bodies which are to be made into components once the windows and appertures have been extruded out.

The problem is when the wall changes to a shorter length and then back again. the solids are re-created and the extrusion e.g. Window1 does not have the new solids in it's effected solids list, so I get an error.

Is there a way to set the extrusions "effected solids" (Not sure if that's the correct term) to all the solids all the time through iLogic or the API?

View 5 Replies View Related

AutoCAD Inventor :: Pattern Feature In Multiple Solid Bodies?

Sep 19, 2012

I have a Hole that cuts through 2 solid bodies, a gasket and a cover plate. I want to pattern the hole in BOTH solids at the same time, but the pattern feature dialog box will only let me select one solid at a time. I could pattern the hole in one solid before projecting to the other, but the quantity of the holes can change. When the quantity of the holes changes only the holes from the initial pattern are projected. For instance if I have 10 hole initially and it increases to 12 the 2 new holes do not project to the second solid body.

Using Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Save Each Solid Bodies Created From Split?

Jul 24, 2013

could we save each solid bodies created from split?
 
for example part1 part2? 

image excerpt...

View 2 Replies View Related

AutoCAD Inventor :: Assembly With Mixture Of Thin And Solid Bodies

Nov 14, 2013

I'm trying to do a stress analysis on assembly with a mixture of thin bodies and solid bodies.  The problem is that when I create the automatic contacts they are created as either all thin body or all solid body contacts.  This of course causes the analysis to fail.  It appears that there is no way to make a thin body contact become a solid body contact or vice versa.

I tried to run the entire thing as solid bodies but the I had to stop the analysis after 18 hours of continuous processing. (and a memory upgrade)

View 1 Replies View Related

AutoCAD Inventor :: Invert Bodies To Make Hollow Part Solid

May 4, 2012

So i draw a body (or assembly) and i would like to invert what i draw ( tubing for fluid flow) to be hollow and make the hollow part solid, is there any way that i could do that? 

View 1 Replies View Related

AutoCAD Inventor :: Suppressing Bodies In Multi-body Parts In Drawing Views

Apr 17, 2013

When I try to suppress the  bodies in the multi-bodies part to clarify the drawing view, I can not do that the way I normally do that if I had an assembly and suppressed the component.

Is it something Autodesk can improve on or rather something I overlook.

View 7 Replies View Related

AutoCAD Inventor :: Using Make Components Feature To Convert Solid Bodies Into Parts

May 8, 2013

I'm currently using the "Make components" feature to convert solid bodies into parts. This works great, but we use this method to construct angular roof structures, and after the parts have been made the parts have angular relationships to the .ipt files UCS co-ordinates. It would be very useful if I could align the longest edge of the part (Which is a timber truss) with the x axis in the model space and "lay" the plank flat on the X-Y plane.

View 4 Replies View Related

AutoCAD Inventor :: Curved Surface - How To Increase Volume Of Surface At Certain Points Only

Apr 10, 2013

how I can add more volume to curved object surface? Say for example I have a plastic cup.You can think of this as cylinder object ,which was the shelled out using the shell tool and then had its base sealed.

Now at certain parts, I would like to increase the thickness and then blend it the rest of the surface(may be chamfer its edges) .

At certain parts on curved surface I would like to add an extra mm, I think if the surface was flat I would just sketch the shape, then extrude it by few mm and smooth the edges by doing a chamfer

But how can this be done on surface that is curved? Or multi curved for edges?

View 9 Replies View Related

AutoCAD Inventor :: Ribs On Curved Surface / Trimming To Complex Surface

Feb 28, 2013

I'm designing a press for a skateboard similar to: Rib Press

I have the board modeled: (see attached)

Now what i want to do is generate those ribs as seen in the picture.

I tried creating a block that intersected with the board and tried to split the rib at the surface, but to no avail. I think the issue has something to do with the curve of the board in two directions, but i can't seem to get it right.

if you are having trouble visualizing what i'm asking about, look at this. I want to be able to figure out the exact shape of those center ribs to print and eventually cut out of wood.

View 9 Replies View Related

AutoCAD Inventor :: Extend Button Flat Surface Diameter 12.5 Upto Shaped Surface

May 31, 2012

It is not possible forme to add the fil because it is to large 1.8MB how can I poste then I like to know if it is possible to extend the button flat surface diameter ø12.5 up to the shaped surface. The result should be a total solid block whit a surface shaped hole.

File last up-date with Autodesk Inventor Professional 2013

View 6 Replies View Related

AutoCAD Inventor :: Extrude Feature And Select Part Surface For New Sketch - Offset Surface?

Dec 9, 2011

I am a beginner when a extrude a feature and select a part surface for new sketch now i want is to offset that surface but i can,t there is + sign with mouse icon and something like fully constrained is written in down the window.

View 9 Replies View Related

AutoCAD Inventor :: Split A Single Solid Body Into 2 Solid Bodies?

Sep 19, 2012

I'm trying to split a single solid body into 2 solid bodies. The problem is that the body I'm trying to split consists of two separate pieces. I can split a body when it is a single piece no problem, but I'm having the problem when the two pieces are not joined at all.

When I try and split it on the origin plane it gives this error:

"Creating parting line failed. Could not build this Split"

When I try and split it on a work plane lying on one of the pieces it gives this error:

"Creating parting line failed. Modeling failure in ASM. Redefine inputs."

Or, another variation on this erorr:

"Creating parting line failed. Split feature could not create two bodies. Change the Split Tool so that split feature can create two bodies."

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved