AutoCAD Inventor :: A Global Transient Geometry Object?
Jul 2, 2013
I've found myself using this code often:
// Get the transient geometry object. We'll use this to create pure geometryCComPtr<TransientGeometry> pTrGeom;pTrGeom = pApp->TransientGeometry;
But I was thinking, once I have pTrGeom can I just declare a global to hold it while my Inventor instance is running?
Alternatively I suppose I could have a global function which does this:
CComPtr<TransientGeometry> GetTransientGeometryPtr(){ static CComPtr<TransientGeometry> pTrGeom = NULL ;
if (pTrGeom == NULL) pTrGeom = pApp->TransientGeometry; return (pTrGeom) ;}
So it reduces to a one-liner. But in COM is that static valid? I know the code is not complete above, but you get the idea.
What do other C++ COM programmers do here...?
View 8 Replies
ADVERTISEMENT
Dec 27, 2013
Using the options param available for Create Transient Surface Body. The documentation states there is an option for Stitching and Merge Faces, which I would like to toggle to true. However, I'm not sure how of the correct syntax to provide this object.
View 3 Replies
View Related
Mar 12, 2012
I'm making a surface out of contours. The problem is the contours have the elevation listed under object information, not geometry (the contours were brought in from a GIS file, which I do not have access to, or I would bring them in again with the elevations properly assigned, this is not an option). How can I quickly change the geometry elevation property to match the miscellaneous property?
Windows 7 x 64 bit
NVidia Quadro 2000 Dual Monitor
6.00 GB RAM
Intel Xeon W3550 @ 3.07 GHz
Civil 3D 2013 SP 2, Civil 3D 2012 SP2, Civil 3D 2011 V3, Civil 3D 2010 V3
View 4 Replies
View Related
May 12, 2012
I tried to use the command "Remove Material" from the rippon, and I get no rsponse, and deleted the material from the palette and yet the material there, How can I get rid of the materials I attached to the walls?
View 1 Replies
View Related
Jul 26, 2013
I am working with transient graphics to show some indicators over the current drawing, those indicators have a polygon with a boundary and a text.
I do not have any problems with the polygon and with the boundary, but the text is drawn always with black color and I need it to be in another color. This is the code that I use to draw them in a class that inherits "Transient":
protected override bool SubWorldDraw(WorldDraw wd) { //Polygon properties wd.SubEntityTraits.TrueColor = new EntityColor(255, 255, 0); wd.SubEntityTraits.FillType = FillType.FillAlways; wd.SubEntityTraits.Transparency = new Transparency(75); //Filled polygon wd.Geometry.Polygon(myP3DCol); //Line properties wd.SubEntityTraits.FillType = FillType.FillNever; wd.SubEntityTraits.Transparency = new
[code].........
View 7 Replies
View Related
Oct 28, 2013
I just want to know that how can I know the Object ID from the AutoCAD for any geomatry.
I knew already from the coding but I want to know manually for AutoCAD.
View 1 Replies
View Related
Apr 10, 2013
I have trouble figuring out dash lines. If i change global scale factor or current object scale in a spedific paper space,
the other page will be affected...
View 4 Replies
View Related
Aug 30, 2011
I've been working on converting a VBA macro to an Add-In (my first). I thought all was going well, but I'm struggling to share the InventorApplication object within my add-in...
All the googling I've done suggests the most suitable way is to declare it as a global variable. So I followed the work flow on this page:
([URL]......) and created a module to declare my global variables. I've then referenced this module back in the original class, but when I do, I get a message saying "modDeclarations is a type and cannot be used as an expression"..
So here's what I've got:
View 3 Replies
View Related
Nov 6, 2012
Ok so where are Global Forms saved in 2013?
Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB
View 3 Replies
View Related
Feb 7, 2013
I have written code to allow me to pick the dimensions of a part and update the dimension parameter name from a list of choices presented in a form e.g. length, width, thickness, outer_diameter, wall etc.
The parameters are exported and I can get overall sizes in the BOM with relevant expressions in columns. So far so good.
What I would like to do is have a global SIZE column in the BOM which has expressions that vary based on another custom iproperty (PartType) which defines the part. So for example if the PartType was 'circular plate' the expression in that parts row of the SIZE column would be <outer_diameter>x<Thickness> while if the PartType was 'tube' the expression in the that parts row would be <Outer Diameter>x<Wall>x<Length> etc
If I could do this I would not need different columns to define the sizes of every different type of material we use and also limit the number of parameters the user needs to choose from when picking part dimensions.
However looking at the BOM API I do not see an obvious way to alter the expressions.
View 3 Replies
View Related
Jan 30, 2012
I have a scene set up like the picture below but for some reason when I go to render it out, the geometry isn't there for the plane object. I've set it up like that because I have the ball emitting fire and then deflectors along the plane so the particles move across them as if they fire was contained and the particle system reacts in this way but in the final render the geometry for the plane isn't there. I've went through the object properties and renderable is checked.
3DS Max 2012
Mudbox 2012
Windows 7 Ultimate 64 Bit
AMD Phenom 9350e Quad-Core Processor 2.0GHz
NVIDIA GeForce 6150SE
4 GB RAM
View 6 Replies
View Related
Dec 21, 2013
I am new to Inventor API, but have some experiences in SolidWorks API.
How can I select an entity at a given spacial point (x, y, z)? For example, I want to select a face or edge that is on a given (x, y, z) point. I can not find such an API, except for interactive selections.
View 3 Replies
View Related
Mar 2, 2011
I have 20 pieces of geometry that when assembled create a single object. In my layers window, it shows all 20 pieces under a single layer. When i attach all object so create a single object, all the layers "sub-layers" stay intact.
I have never noticed this before, but would have assumed that the layer would have been consolidated to reflect the singular object in my viewport. Is Max acting the way it should?
Max 2014 (SP2)
Win 7 64-bit; Dual Xeon E5-2687W @ 3.10 GHz; 64 GB Ram
NVIDIA GeForce GTX 570; Quadro 4000
View 5 Replies
View Related
Jun 21, 2013
I have used Quad Draw to create geometry on the surface of an object, this geometry and its pivot can be seen in picture 1.I then try to mirror this geometry to the other side of the object's surface using the settings shown in picture 2
I get a mirror, but not based on the pivot, but it seems the mirrored geometry wants to be attached to the original drawn polys as shown on picture 3. Could it be a bug or is this how Quad Drawn objects are intended to behave?
View 2 Replies
View Related
Oct 18, 2013
I have a Global Form in 2013 that I want to get into 2014. I cannot seem to export it from the iLogic browser, not can I edit it in the editor.
Inventor Professional 2014
Windows 7, x64
Dual-core i7, 8GB RAM
NVIDIA Quadro FX 880M
HP Elitebook 8540w
View 1 Replies
View Related
Nov 9, 2011
So 2011 had some issue and I though 2012 would get those fixed. I was wrong. More problems occur. With 2011 I was able to open assemblies directly through vault. Now with 2012, since the vault issue updates as it opens, I crash on any sizeable model or assembly. So now just to open a file, I must get it, then go to inventor and open it, and hit no when the refresh window come up. If I hit yes, it crashes. If I hit no it open, then if i hit local/global update it crashes. So technically I cant do any new work with any of my larger assemblies (2000+ parts) I have sent out numerous error reposrt, only for autodesk to say that they can replicate the problem. I have SP1 installed, and this is happening with other users at my company as well.
System:
Windows 7
64 Bit
Solid State HD
24GB RAM
Xenon Processor
Nvidia Quadro FX 580
View 1 Replies
View Related
Apr 4, 2013
I would like to instantly launch an External Rule just by clicking on a button in the Global Forms area of the iLogic browser. Is this possible, and if so, how would I do it?
Product Design Suite Ultimate 2014 | Vault Basic 2014 (SP1)
Dell Precision M6600 | Intel i7-2820QM - 16GB
nVIDIA Quadro 4000M | Windows 7/64 Pro
View 2 Replies
View Related
Dec 16, 2012
I have keyframed some ojects. I then set up a camera projection texture at keyframe 179
Is it possible to create a Texture Reference Object from keyframe 179 so this texture will stick to the geometry throughout the sequence?
View 2 Replies
View Related
Oct 15, 2013
So, when I reset the transforms of an object, it moves the geometry back to the frozen position but the pivot point gets places at the world origin.
That can't possibly be what is supposed to happen, is it?
View 2 Replies
View Related
Jan 16, 2006
How in import 2D geometry into Inventor so I do not have to redraw the profile, only extrude the existing geometry. I tried to export from Autocad a IGES file, and then create a sketch plane in Inventor and project the geometry onto the sketch plane, but I ended up with a bunch of open loops. Perhaps, I have figured it out and real question is how to I close open loops?
View 6 Replies
View Related
Nov 5, 2013
I would like to be able to show an animation of a flat plate of material converging into a half hollow sphere (like a bowl). Its easy to model the beginning and end stae, but I do not know how to show it transitioning from one to the other.
How to do this? I need it for a presentation to convey a design concept.
View 4 Replies
View Related
Jul 7, 2013
I'm fairly new to the world of CAD, and I was just working on a phone case for my friend when I tried to extrude geometry text, but couldn't because the OK and Apply options were greyed out. I tried embossing and making a hole, but they were greyed out for them too. I tried messing with the settings to see if I could fix it, but I still couldn't. I'm really confused right now, I remember doing something similar for a case I made for myself.?
View 3 Replies
View Related
Jan 28, 2013
I have generated a model but want to get rid of unwanted geometry to clean it up, how do I delete unwanted geometry?
View 4 Replies
View Related
Dec 17, 2011
Currently I save all my 2D DWGs as IGES files and then import the files into Inventor. That converts all the geometry to Construction Wires in an IPT, which means MUCH improved performance (you don't have to wait for Inventor to convert every single entity in the DWG to a Sketch entity). I then start a new Sketch and Project those lines that I need from the Construction Wires.
Is there a way to do this directly (convert to Construction Wires) with a DWG, without having to save as an IGES file first?
View 2 Replies
View Related
Nov 12, 2013
I have a sketch on plane XY and I have another plane at an angle, which I would like to work on. How can I create a sketch on the angled plane, using the geometry from the XY sketch and which I can snap to?
View 5 Replies
View Related
May 21, 2013
I want to slice a geometry partially. But not want to divide the geometry into two parts.
I attached a photo of a part. How can i draw this geometry by using Inventor?
View 7 Replies
View Related
May 5, 2012
Trim/ extend sketch geometry dynamically doesn't work with construction lines?
View 1 Replies
View Related
May 7, 2012
In the attached part if I change the value of the length parameter from 19" to 20" Work Axis 1 updates to the 19" location, if I change it back from 20" to 19" it goes to the 20" position.
In the images below, the axis should be in the center of that last slot.
View 8 Replies
View Related
Jan 11, 2013
I've created a solid in Inventor and used the Section Analysis tool to create several cross sections. I'm trying to find a way to export the geometry of each cross section to a some format so that I could laser cut each cross section.
View 1 Replies
View Related
Jul 31, 2012
Is there a tutorial for importing 2D AutoCAD geomtetry and using it as a basis for your 3D sketches? I'm sure in a demo somewhere I saw someone using 2D layouts to quickly start creating 3D geometry from.
To clarify i'm not referring to the add-in in AutoCAD Labs but the actual process to do this using Inventor tools.
View 3 Replies
View Related
Feb 23, 2012
Why is it that when I create a dimension across geometry the dimension shows true, yet if I create sketched geometry in the drawing view it does not?
What I need to do is create an arc of swing for a door. So I create a sketched arc and then want to dimension the arc radius of the door, yet the dimension shows not true. How do I make it true? And why can't I snap to model geometry in the drawing view?
View 6 Replies
View Related