AutoCAD Inventor :: Show User Only The Result Of A Process
Jul 18, 2013
I have a function programmed in vb.net that controls the opacity of parts in the active view. If the user is selecting objects and then starting the program the "non-Selected" Parts are disapearing step by step.
That's looking very interesting, but doesn't supports the user . Is it possible to freeze the active view of inventor and refresh it, when the job is done? So the user will only see the result of the process and not the working process.
After getting Vault installed on our server and successfully setting up users and connections, I used the Library Transfer Guide to move our Content Center (including custom) to the Vault. I then changed the Inventor Application Options -> Content Center -> Access Options to Autodesk Vault Server.
This seems to have worked, as I can Place from Content Center when in an assembly, and it is pulling standard content as well as our custom files properly from the vault. However, in the instructions that I used for the installlation, it was suggested to stick with a standard folder structure within the Vault, namely two Library Folders named 'Content Center Files' and 'Libraries' and also a regular folder named 'Designs'.
I created those folders prior to transferring the library, as I thought they would be populated with the standard/custom content. This was not the case and I am curious when these folders come into play? *they are empty*
Also, today I will be attempting to 'Check In' a project to the Vault that I recently completed; does this usually maintain structural relationships between files?
Would you recommend using a single project structure in vault for two people? It seems, since we won't be working on the same project at the same time, having a single project would not be relavant to our situation..
As you could already read in the headline of this topic, I'm getting two diffrent results from Inventor.File.ReferencedFileDescriptor with the Inventor 2010 API and Inventor 2012 API when I'm trying to get some information from the same Inventor file!
In my case the FullFileName and therefore the ReferenceMissing property get's me different values, although it's exactly the same Inventor file and exactly the same source code.
How could this happen? Any changes for the ReferenceFileDescriptors object from API 2010 to 2012?
2- WEIGHT - is to update weight of model in title block
3- PDF - is to create a pdf version of drawing in same location as idw
all are triggered by saving the drawing.
These work fine, but sometimes when I create specific types of drawings there is errors, which is no big deal, just a prompt appears and I press ok and everything is fine.
With very little to no iLogic programming knowledge, is there a way to edit to rules so that if there is an issue, the rule knows it is ok and saves without the little prompt appearing?
Example of when errors occur for:
SCALE - sometimes I create drawings on my template just using create sketch, I don't place a base view so therefore there is no model information. which makes it hard to produce a scale. (see image, error -1)
WEIGHT - occurs during the same instance as above, only a sketch is saved on the idw. (see image error -2)
but I also have an error occur when creating a drawing from a presentation file. I create a presentation file from a specific level of detail from an assembly. and I get an error when saving . (see image error-3)
I understand the first 2 errors because there is no physical data to get this information from, so I am hoping an edit to the rules can bypass this issue. But the 3rd error doesn't make sense. It is from an actual model, but I guess the physical properties get lost from an .iam to .ipn?? or is there a setting that can be toggled to carry over model properties?
Inventor Pro 2013
Rules are below:
'Scale Public Sub Main() On Error Resume Next 'Get the drawing document
Why my result from stress analysis isn't symmetry?I am modeling a telescope support system. The result I got from the analysis always not symmetry, the difference is very small therefore I think the test setting shouldn't have any major problem.
The difference could be cause by the round off during the simulation, if I am right about it, is there anyway to improve the result?
I modeled a sheetmetal part, saved it and then did a save as to make a similar part. I changed a couple dimensions and when it updated it chnaged it's orientation. Playing with the EOP marker reveals the refold feature, the last feature in the model, to be the culprit. I tried reentering the stationary reference, and I tried deleting and recreating the feature.
I can get length, width, height information from part or assembly below Visual Basic Express 2010 code.
Everything is perfect. But if any plan or axis visible in document than results comes wrong! I think box object calculating the dimensions not only according to raw part. It adding the axis or plan dimensions to the result!...
Dim invDoc As Document invDoc = Form1.invDocumentTakas Dim dLength As Double Dim dWidth As Double Dim dHeight As Double [code]....
I'm trying to show captions when the user clicks on a button (captionButton) symbol. All permutations below work for showing the captions but none of them work for showing the button ever again, though it does hide the captions.
// compositionReady script var captionBar = sym.getSymbol("captionBar"); var captionButton = sym.getSymbol("captionButton") sym.$("captionButton").css('cursor', 'pointer'); [code]....
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
I'm trying to create a two sheet drawing showing the different states of manufacturing for a fabrication that is further machined. The first sheet would be the fabrication and the second sheet would show the final machining. Due to the complexity of the part, cramming everything onto one drawing is not a very good option. I was hoping to use Views or LOD but that won't work. Am I missing something? The part is not suitable for using the weldments option either.
We have a problem with Inventor freezing when saving idw. It is not possible to end Inventor process in task manager so the only way to quit Inventor is to force a complete PC shutdown.
I've written a piece of code in C++ to open a part in Inventor and get parameter data from the part from out-of-process. This code works, but occasionally (i.e. randomly) execution of the code will result in an error message being returned from Inventor which indicates a crash of the program. I cannot figure out why, and because the problem occurs randomly I've had difficultly isolating the problem. Here is my code. The error suggests that I might be releasing memory that I don't own or something like that, but since it happens intermittently it is hard to know.
int error;CComBSTR bsPartName;CLSID clsid;FILE *out;HRESULT hres = NOERROR;TCHAR szFileName[255];/* Global Autodesk Inventor pointers */CComPtr<Application> aiApp;CComPtr<Document> aiDoc;/* Get Inventor program ID
I have a one rectangular box in that box again small rectangular boxes in this my problem is when iam giving value for smaller boxes(all boxes height) more than outer box how it will show the message box and how to stop the code.
d1=big box height d2,d3,d4---small boxes height
I am writing code like this:
IF((d2+d3+d4)=<d1) then Msg.box(give correct value) end if
here it's showing the message and it,s not stoping the program.
how to get Gimp to only showfonts from the user/fonts file rather than the vast amount of system fonts.
I think you should read the original mail again. Hint: "system fonts not shown" is not the problem, but the desired outcome.I have accidentally read a "not" into the original mail, thus it became "to get Gimp to *not* only show fonts from the user/fonts file"
The configuration to check is the fonconfig settings then, for example the the global, system-wide fonts.conf file. It may contain references to the global font directories, for example /usr/share/fonts/usr/X11R6/lib/X11/fonts. URL....
If you comment those out, then you can (and have to) add all font directories in GIMP's settings, for example.
How the PMS color palettes "simulate" on screen how the color will print on different substrates (glossy vs matte vs uncoated paper). That's great for comps, but if you convert it to CMYK to print it, and the values are representing a "simulated" color it won't look correct (by that I mean come close to matching the spot color). For example, the uncoated palette simulates the color by making them appear a bit washed out on screen - pretty good visual simulation. But it might do so by adding black and cyan to orange for example, etc. - effectively dulling the original color.
So if I convert that to CMYK within the new Pantone + color palette, and then send it to the printer - it won't appear as it did on screen, it will dull the end color even more because it's converted the color to the dull simulated version - what a disaster! It's only doing half the job - showing us what it should look like on screen. In order to be truly efficient for design professionals the CMYK conversion might remove black and cyan completely to effectively brighten the color in the final output on uncoated paper. I would prefer it just stick to the standard conversion, which Pantone did have as a standard palette option (PMS to process), and then I can adjust if I think it's necessary.
Any corporate branding system will likely start with a PMS spot color palette for the identity. Then it will build into many different adaptations - full color brochures, large format banners and trade show graphics, website, advertising. So any corporate branding system will need to have PMS, CMYK and RGB versions of their main corporate color palette. There was a standard for these translations that was automatically consistent in the Adobe software and that is now all over the place, so it relies on individuals manually adapting the color mixes for final use - what a great way to screw things up.
I'm trying to make a VBA macro which would use the user name set in Inventor. I haven't been able to find anything on how to get that username. I would think it would be easily accessible, since it's commonly used to fill in i properties.
I have an assembly file with parts assembled, and I want the user to move and position the assembled part into a position as they desire, and then run VBA to extract coordinates information to do further calculation.
So, what I want to do is creat a VBA code that does the following in sequence
1. VBA runs code to assemble the parts (I can do this)
2. go to the autodesk interface and allow user to manipulate the part
3. when user presses a key (e.g. "enter", "space"), the control returns to VBA
4. VBA run some code to extract the coordinates and do some calculations (I can do this too)
there is something like an input box that waits for the user to click ok, before continuing to run the rest of the coding. But I realise that the input boxes and message boxes do not allow users to work on the model in the background. Since I need users to move/rotate the part to the desired position, I can't simply use input and message boxes.
Is possible to generate with Inventor 2011 (or 2012) PST files (after-process file) for use in a cutting machine? or other similar files?
The same as (for example) generated by software "MASTERCAM"..In my case is for use with ONA machine, that allows to cut real material with wire EDM technology
I have noticed quite a performance hit when coding the same thing in .NEt compared to VBA. I suspect this to be due to out of process calls between .net and Inventor.
Is there any way to bundle many calls and send them as one.
Example: I want to change the parameter value of a constraint and then update the assemblydocument. Can this be bundled into one call to Inventor?
Inventor Professional 2012 SP1 (25 seats with subscription) Windows 7 64 bit Lenovo D20, 12 GB RAM, Intel Xeon X5687 3.6 GHz, SSD Quadro 4000, driver 8.17.12.9573, dual monitors SpacePilot, driver version 6.15.3 Firmware 3.12
I'm writing code to split long part list in new sheets. Infact it's finished but very slow. Because each time I hide the line part list start to refresh itself...
I tryed to use
oDoc.DrawingSettings.DeferUpdates = True
But in this case I can only see empty part list on each page?!...
I just want to speed up process and I want to refresh part list view after than hiding process finished completely...
I need to copy about 15 user parameters from 1 part to about 300 others. I used the DA to copy the iproperties but the user parameters are also needed.
How to switch from the Ribbon interface to the Classic interface in inventor 2012? It is not in the same place as in inventor 2011. This ribbon interface just don't do it for me.
Why on ocassion Inventor tells me that the file I am working on is checked out by another user and that I cant save the changes. I find this a bit bizzare as I am the only person in the office using inventor although it is installed in other machines.I realise that all I have to do is steal the checkout, but I would really like to understand why it does this.
Looking for sample VBA code to get all referenced documents from an assembly and add a boolean user parameter to each (parts and sub assemblies). I have been trying to modify peices of code I have found on this forum and Mod the Machine, but have had no luck so far.
There may also be standard content center parts in the assembly as well that I would like to somehow identify so I can skip over them.
Most of the time, I delete an user parameter without problem. But, in a part, I got an error for two of them and I don't understand why. I create a new parameter and redirect all dependencies from the old one to the new. (oldParam.Dependencies.Count = 0).
But when I try to delete it, I've got an error. Also, when I try to delete it by the interface, I don't see the Delete option.