AutoCAD Inventor :: Running Commands Using API / How To Provide 2 Inputs Through API
Feb 6, 2013
how to Run Commands Using the API. And he also shows API can provide one sets of input to the command.
In my case, the Inventor command "analyze interference" need two sets of inputs. I tried to feed the commands with two selectset input throght API (see attached code). But the command looks like only take one set of them.So the behavior is not what I want.
So if it is possible, how to provide 2 set of pre-defined input to inventor commands throught API?
View 9 Replies
ADVERTISEMENT
Jan 11, 2012
I haven't had enough of an application to justify trying to figure it out. At this point however, i've designed a small conversion form that can be called by our engineers and allow them to convert between various units. I'd like to have a button though that allows them to call up the Quick Calc application from within AutoCAD. What i'm wondering is how do i actually call a native autoCAD command? Is it possible and if so where could i find documentation on the syntax. For what it's worth i'm working in C# in VS 2010.
View 4 Replies
View Related
Feb 21, 2013
AutoCad sticking on commands like copy selection and move tool, It is running very slow and when saving it says there is no system memory, although my Computer has pleanty of memory (the local disk has over 200GB space)
PC has correct specification for AutoCad 13, and I have never had problems until this morning-
View 1 Replies
View Related
Feb 11, 2004
1. Why is it when I do a 3D sketch, make the sweep, then "Return" I always get a constraint error? It tells me that I made a constraint to geometry which is no longer available. The geometry IS available. I always have to delete the constraints just to move on. I'm sure it has something to do with the planes or axis I created while doing my 3D sketch.
2. Why does Adaptively equal inefficiency? The more I use it the more I have to fix those darn cross-part association failures. It takes less time to not use adaptively and use the "old fashion way". adaptively rarely, if ever, works correctly with sheet metal parts. I say again - Junk.
3. Would it be so difficult to give us buttons for standard views on our tool bars? You know, like AutoCAD - which I'm sure you have heard of by now. An XY, YZ, XZ, button is all I ask for. You went to the trouble to give us RMB Isometric view but stopped there.
4. Is it too much to ask to provide buttons on the toolbars for Object Visibility? Why make me go through the View, Object Visibility menu three times in a row to turn off User Axis, User Work Planes, and User Work points. It will be six times in a row if you need to turn off the other stuff. Heck, at least make the darn menu tree stay open until I've selected multiple objects to turn on or off.
View 7 Replies
View Related
Sep 23, 2011
I have tube that has been generated on frame generator and notched to run into the side of another tube.
Is there anyway of unfolding the tube to provide a flat profile.
What i ultimately want to do is print the flat pattern off at 1:1 scale, cut it out and wrap it around the actual steel tube to be able to trace the profile onto the tube so i can cut the profile roughly before offering the two tubes together.
View 5 Replies
View Related
Jul 31, 2013
I am having trouble shelling a part I have designed. Every time I try, with no matter what thickness, I get the following message:
"The attempted shell operation had non-manifold inputs. Try with manifold inputs."
View 2 Replies
View Related
Oct 2, 2012
I'm experiencing many problems when modifying parts measures, adding extruxions or doing holes/threads.
Always same error: Operation doesn't produce a significant result. Redefine inputs
If Inventor is totally closed and reopened, I can modify and update parts without problems for 10-30 minutes, until first error, then it gives errors until closing again. Usually, but not always, operation preview begins to fail before first error. So it's quite difficult to reproduce.
I've tried uninstalling everything after Autodesk installation, windows updates and Firefox plugins (well, even Firefox itself) included. I've tried all hotfixes and updates that Inventor 2013 gives (NO SP1), even I've fully reinstalled Inventor. I've been using Inventor from Inventor 7 and never seen such errors.
I've attached a part from the pictures. Anyway, as errors are not always happening, maybe you won't have any problem with it.
PD: Also, a little problem is that with this Inventor version I can use the CTR+c CTRL+v to copy parts into an assembly. I can use the context menu but no shortkeys.
Autodesk Product Design Suite Premium 2013 (Installed yesterday, so with all official updates)
Windows 7 64bits Proffesional SP1
Intel(R) Xeon CPU W3565 @3.20GHz
NVIDIA Quadro FX 3800
8GB RAM
View 6 Replies
View Related
Jul 24, 2013
Have a question regarding multiple daylight subassemblies, don't know if it is possible. So I have an assembly with a trench SA in cut condition and a project to surface in fill condition, I built the corridor with this assembly and most of things look fine. However, there is a short stretch (in cut condition) of the corridor that I would like to modify such that a trench is not provided. I know I can create a new assembly with my desire condition, then create a new region and drop that assembly there, but I am wondering if there any other way to achieve my goal without another assembly.
View 8 Replies
View Related
Feb 20, 2013
Rather than scaling down the model which i have in imperial to metric, is there a way to have my dimension inputs in metric without converting it manually? Btw, if version matters i am using P&ID 2009
View 9 Replies
View Related
Jun 19, 2013
Often, screen are full of information..surface, alignments, corridors, widenings.I'd like a tool to have a fast way to view/hide information related to my alignments and corridors. In example.
View 9 Replies
View Related
May 16, 2012
I'm trying to combine two user inputs and a constant with setq without spaces so I can use it in an AutoCAD command.
I haven't seen a string command that does this. It always has spaces in between the fetched valvues.
View 9 Replies
View Related
Sep 4, 2012
While working on assembly detail drawings my system pops up a message that " Running low on memory ".
View 3 Replies
View Related
Nov 21, 2006
Is there currently any way to integrate voice commands into Inventor? It would be an incredible time saver. Software such as Dragon Naturally Speaking and IBM ViaVoice offer this technology for some Windows applications. I was just wondering if it could be applied to Inventor? If not, can we expect something for R12?
View 8 Replies
View Related
Jun 29, 2012
Any way to turn off HUD during commands? Seems to pop up right where I want to select geometry. I came across something about it for 2012 not being an option to turn it off but may be one for 2013
View 1 Replies
View Related
May 9, 2013
I have 40 pages in one set of drawings and would like to rev-up the drawings. i will put same texts in same locations in the title blocks.
View 9 Replies
View Related
Sep 5, 2012
I have an ilogic rule with multiple Subs. How could I run one specific sub contained in that rule from an iLogic form or another rule?
View 2 Replies
View Related
Dec 9, 2013
I would like to know of a way of grabbing the code that triggers different commands for example, someone a while back gave me this command of
This Application.CommandManager.ControlDefinitions.Item("SheetMetalStylesCmd").Execute
this triggers the Sheet metal defaults in a sheetmetal ipt file.Where was the SheetMetalStylesCmd part of it taken from?
View 2 Replies
View Related
Apr 16, 2012
I have been using the ordinate set command to place set dimensions on an Inventor drawing in version 2012, I was looking for a similar way to rapidly add dimensions for hole diameters .
View 5 Replies
View Related
May 29, 2013
I'm trying to create a pline in a dynamic block where the length is determined by two values I would input into properties or as attributes.
The first value 'A' will be a ground surface elevation
The second value 'B' will be a ground water elevation
I would like to the pline to have a length of A minus B.
I would then also like to have mtext (or any other method of display text) to display the values of A and B.
For example, if I have a ground surface of 102 and a ground water of 91, my line length will be 11, and I can display a label of '102' at the top of the line and '91' at the bottom of the line.
I've created dynamic blocks before, but none that have used an expression of two values or having to display inputted values. I'm not really sure where to start with this, or if it's even possible.
View 7 Replies
View Related
Jun 28, 2013
how I can provide a picture or deforming?
View 1 Replies
View Related
Jul 5, 2012
We have some Problems with the running order of iLogic Rules.
I try to describe it in an Example, you can find attached. (The description (PDF) and the ipt-file)
We're using iLogic via Addin in Inventor 2010. But I also tried it, with the 2012 version (the same problem).
The attached IPT File is running in the correct order.
View 2 Replies
View Related
Oct 1, 2012
I just installed the student version of Inventor 2011 on my machine. Everything went well but when I double click the inventor icon nothing happens. Autocad mechanical and TruView work fine.
View 1 Replies
View Related
Apr 9, 2012
For exam purpose I'm install Inventor 2012 and after finishing exam Inventor 2012 is uninstalled.
And then I'm trying for run Inventor 2011 but can't run.
So what happen with my Inventor 2012 where before install Inventor 2011 is running normally.
View 2 Replies
View Related
Feb 18, 2013
I am running Autodesk Inventor Pro 2012 and am trying to start learning to use my dynamic simulation and FEA features. I recently just purchased the Up and Running series by Wasim Younis. I was working with his models on the multiple actuating jacks and noticed none of the features are constrained in the assembly. Now my question is, is this how these should always be setup? I am working on trying to set up a simulation of a frame I am rotating 90degrees with 2 hydraulic cylinders working together so as to use the strong side of each of the cylinderds when it goes each direction. The way I have it set up I have the whole thing constrained. The 2 cylinders are constrained so that they have their stroke 17.23" and the turntable frame is constrained to rotate 90degrees. So should I remove all constraints to run dynamic simulation? I attatched 2 photos to show the starting position (travel position) and ending position (working position).
View 7 Replies
View Related
Aug 15, 2011
Whenever I customize some keyboard commands, they always seem to reset after I close and re-open Inventor. I'm not quite sure how I could be missing something. I've gotten very use to these commands in previous versions. Once I setup my commands, I am able to use them for the session.
Inventor 2012 Ultimate/XP Pro
View 9 Replies
View Related
Jun 20, 2011
I need to import the Custom user commands in the ribbon each time inventor starts up.
I found a thread to import app options en user interface, but nothing to import the ribbon.
[URL]
View 3 Replies
View Related
Sep 6, 2013
I used to have an A1 printed sheet of all of the ilogic commands, functions, syntax or whatever you call them. It was all nicely grouped and colour coded etc
Unfortunately I have since moved jobs and lost this and neither me or google can find this again, any copy or link? it may have been a pdf or excel format.
View 3 Replies
View Related
Aug 28, 2012
i am having so much trouble getting my photo book order. It is all don't and ready to be ordered. When it is done preparing for order i get a online service error 3:OLS refused to provide a preview for file.
View 2 Replies
View Related
Jan 8, 2013
I'm trying to write a script which would process all the ipt files within assembly and launch certain functions according to a ipt file type.
I've already made such script for dimensioning parts which work for standart parts but not for metal sheets.
Here it is:
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments If oSubDoc.DocumentType = kPartDocumentObject Then Dim oPartPropset As Inventor.PropertySet = oSubDoc.PropertySets("Design Tracking Properties") Dim oPartParam As Inventor.PropertySet = oSubDoc.PropertySets("Inventor User Defined Properties") Dim oParameter As Parameter For Each oParameter In oSubDoc.ComponentDefinition.Parameters oParameter.ExposedAsProperty = True Next oParameter If oSubDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then Dim d1 = Round(SheetMetal.FlatExtentsLength, 1) Dim s1 = Round(SheetMetal.FlatExtentsWidth, 1) Dim g1 = Round(Parameter("Grubość"),1) FindOrCreateProperty("Długość [mm]", d1, oSubDoc, True) FindOrCreateProperty("Szerokość [mm]", s1, oSubDoc, True) FindOrCreateProperty("Grubość [mm]", g1, oSubDoc,
[code]....
this code distinguishes parts from sheet metal, and launches appropriate functions to get their dimmensions. It just doesnt work for metal sheets somehow. Seems like SheetMetal.FlatExtentsLength is performed from within the assembly, not part as it should be. I must have the addressing wrong. I've tried many things and different functions but nothing works for sheet metal parts.
This code might also be useful for different purposes. I'm also trying to lunch some external scripts for each part within an assembly, but there is no direct function for that (there is one only for internal scripts , based within the file).
View 1 Replies
View Related
Jun 5, 2012
The company I work for has requested what PC specifications Autodesk recommends for use with inventor. We are currently using 2011 but would like to have the recommendation for the latest release. We are having major issues with crashes, and running out of memory constantly on working with images as well as routing tubes in assemblies. Any recommendations for PC specifications I should report?
View 9 Replies
View Related
Aug 17, 2012
i am wanting to use the apprentice server in another program. The apprentice server is 'normally' found in the registry under this key:
ComputerHKEY_CLASSES_ROOTCLSIDC343ED84-A129-11d3-B799-0060B0F159EF
The problem is, that if you uninstall all things autodesk, and run a registry cleaner (or delete that key by hand), and then install only inventor view 2013 and run inventor view 2013, it will *not* create that key in the registry.
This makes it impossible to run the apprentice thru the COM mechanism, even your SDK samples will not work.
(i suspect (but havent proved), the bigger problem is on a brand new machine, install and run only inventor view 2013 , you still can't use the apprentice server.)
The 'workaround' is to install and run inventor view 2012. running inventor view 2012 will create the registry key. After that, running inventor view 2013 will happily update the key's value to the appropriate place.
(C:Program FilesAutodeskInventor View 2013BinRxApprenticeServer.dll)
so try this :
1) run regedit and delete the key and all its subkeys
ComputerHKEY_CLASSES_ROOTCLSIDC343ED84-A129-11d3-B799-0060B0F159EF
2) optionally install inventor view 2013 ('as administrator' or not doesnt matter).
2) run inventor view 2013 ('as administrator' or not doesnt matter). exit it
3) run regedit. the key is not there still. you won't be able to run any SDK samples or get an apprentice server using the following 'basic'
Set ApprenticeServer = New ApprenticeServerComponent
i'm on windows7, x64. (iv2013 is: build 126, Release: 2013 RTM)
is a bug in 'inventor view 2013', or is that intended for some strange reason?
View 2 Replies
View Related