AutoCAD Inventor :: Best Practices Checking For Objects In Collections
Aug 14, 2012
I have some commands in which I add a button to the context menu in certain situations. Depending on the situation the button may be added or removed.
I'm alternating between using iterating through the definitions on the object they belong and if I have access to the it such as events that expose the commandbar object I iterate through it's buttons. If I don't I use a try/catch on the ControlDefinitions. Iterating through that causes an unacceptable pause.
I've always thought using exceptions to test objects is expensive but the delay breaks the users flow due to the pause.
What is the correct way to test for this?
I also run into this situation because I have different addins that add different sets of controls from a common set of dlls depending on the use context. Try/Catch works but is that the recommended way to test for things. I often need to test for the existance of things such as parameters (I have some plugins which will recreate sets of needed user parameters and some have hundreds if they don't exist already) and try/catch seems to be the best method.
View 4 Replies
ADVERTISEMENT
Feb 6, 2012
We are about to migrate from IV 2011 to IV 2012 so it is time for the annual template update. We also use and store our templates and style library in Vault.
Currently we have two idw templates, one for b-sized paper and one for d-sized. We are finding that this does not give enough flexibility when detailing components from 60' weldments down to 1/2" dia machined shafts.
Are we better off to create/ manage a new idw template for each of our large and small weldments, assembly prints, flame cut components, and machined parts. Or should we use a single template idw file and add Sheet Formats, Borders, Title Blocks, Sketched Symbols, Dimension Styles as required to better standardize the final idws?
View 9 Replies
View Related
May 27, 2012
I am not fully conversant with the optimization function however I have leaned that this can be used for checking FEA tests on designs.
View 4 Replies
View Related
Nov 21, 2012
If you make alterations to a model, and then switch to vault menu, your model is red with an asterix (requires saving). If you click check in on this, you get the message that it needs saving, click ok. It appears that it has worked but all the buttons on the toolbar are frozen. if you click the big I all the ribbon greys out and you need to restart Inventor. The only button that still works is Suite Workflows.
I have SP1.1 installed as well as the vault hot fix.
View 5 Replies
View Related
Jun 12, 2013
Having problem when using Inventor to check in a (large->slow) file while closing vault at the same time?
One of my colegues had a drawing file lose some of his changes when he checked in. we could not see a reason why, as the file was in vault with the correct time stamp. the file was the same as the previous check in.
This morning i have had a similar problem, where by i had made changes before checking in last night and when i opened the file in the morning the changes where not there.
I looked on my c drive in old versions (before i did anything else to overwrite it!) and low and behold the changes there!
The only thing i remember doing that was not normal was to close Vault while this large file was in the process of checking in through inventor.
View 7 Replies
View Related
Dec 9, 2011
I am using Inventor 2009 and have always been told not to check out files from the Vault directly. Rather to use Inventor when checking them in or out. What is the reason for this and has that changed with current versions?
View 1 Replies
View Related
Feb 8, 2013
I have Machine.iam with all children checked out, except for company-library-parts and Content Centre parts.
After changes to non library parts and checking in machine.iam (with 1 or more company librarie .iams in it) Inventor says: machine.iam and (x) dependent files must be saved.before they can be checked in.save and continue?
Answering Yes -> Inventor says: One or more documents have been modified but save was unsuccessful. You must save the document prior to check in. (but I did save before check in!). Only option is to press cancel..
All filenames of library.iams in the vaultlist in inventor are turned red with an * behind the filename stating they have changed.(?) Somehow inventor thinks the library.iam haved changed in this machine.iam..
If i do this again with all included children checked out, but not the library files, the result is the same.
I tried to find out what is wrong with these library-parts (all library.iams (?)) so I opened a few of these library.iam (with the librarie.ipj) and the update button is greyed out so there are no changes..
We “solve” this now by closing the machine.iam, inventor then asks: save changes?, press Yes, an new window pops up: file “machine.iam” is checked out to you. Do you want to check it in now?, press Yes, a new window pops up asking which files you want to check in: machine.iam and all checked out parts in it, press OK and all will be checked in.
But this only works with files that are already in the vault, not with new drawings of iams.
We used to have the problem after saving an part or assembly -> Inventor would ask after pressing close: do you want to save, as if the first save didn’t work.. Now we have a bigger problem..
Also sometimes checking out include children only includes all direct children and not also children of children.
View 2 Replies
View Related
Aug 8, 2013
I have a lot of custom libraries for purchased items for my projects. When I bring them into my assemblies I cannot turn on or off surface planes or make any changes.
I get the message that the file is not checked out to me. How can I make it so they are always checked out to me. The libraries are mine on my system.
View 9 Replies
View Related
Aug 8, 2013
we are a large manufacturing organisation and currently are using Inventor 2014 for our product design and day to day production drawing. We purchased Inventor 2014 recently for its BIM transfer capabilities. It would appear however that we can only view the outcome of the transferred files fron Inventor within Revit its self.
As we do not require Revit for any production work, purchasing a Revit licence is not an option. I recently downloaded the trial version of Revit Architecture to review the transfer files but the trial licence is now ready to expire.
View 3 Replies
View Related
Jun 4, 2013
Installed Product desgin suite 2014. I can create a new inventor dwg file and place a base view of an assembly into it. I then attempt to check it in and it causes Inventor to not respond and eventually crash. When I reopen the dwg from my working folder and attempt to check it in again it gives me an error saying that the file already exists.
View 1 Replies
View Related
Jul 17, 2012
I am looking to check the hiddenline status of a part in a drawing. The drawing is made from an assembly. I dont want to take all the segments from the view and check for each of them. I want a way I can just grab the entities that are made from an occurence.
I was hopping to use the drawingcurve(modelobject), but I dont know what to use as the modelobject! is it the edge, edges, component definition... Here some of the code that is not working.
Dim _portePattern As OccurrencePattern = oassbly.ComponentDefinition.OccurrencePatterns.Item("Pattern Porte")
Dim _PoigneeOcc As ComponentOccurrence
Dim _PorteOcc As ComponentOccurrence
Dim PatEle As OccurrencePatternElement
Dim _poigneeDef As ComponentDefinition
Dim _poigneeSFbody As SurfaceBody
Dim _poigneeEdges As Edges
[code]....
View 1 Replies
View Related
Jun 18, 2012
I'm fairly new to Inventor and have been working with frame generator and analysis recently. Will Inventor 2013 check or analyize a frame to see if it meets ASD/AISC code similar to what RISA 3-D will do? If so, how can you perform this check?
View 1 Replies
View Related
Jul 26, 2012
We are still on Revit 2012 and from my understanding, there were some improvements in the way Revit exports to CAD files. I'm sure most of you would agree that the export to AutoCAD feature is still a long way off. I wanted some opinions on my thoughts on how to minimize some of the errors that I recieve when I open the exported CAD files.
My problems really pertain to linetypes and hatch patterns. If I do not map any of the patterns to a standard AutoCAD linetype or hatch pattern file, then I get an error reading pattern message if I want to check out the pattern in AutoCAD. I am very inclined to wipeout all of the standard fill patterns and linestyles in Revit and make new ones based on the standard AutoCAD lines and hatches. Does this seem reasonable?
View 1 Replies
View Related
Dec 25, 2013
I have a list of Layer Names in a text file. How can i check the Layer Names in the autocad drawing file with the list and log all the errors in a notepad.
View 2 Replies
View Related
Jul 5, 2012
I have a .DWF underlay that I am tracing over an aerial. I need to create hatches for several areas, and tried to PEDIT the lines and arcs into a polyline. Several segments, however, were not "connected" to the adjacent segments even though I'd meticulously snapped to endpoints to draw the lines.
Is there a command or LISP routine to check for connectivity before I attempt PEDIT so I can fix the gaps first?
View 1 Replies
View Related
May 22, 2012
I was attempting to troubleshoot some performance issues I've been having using process monitor. I noticed that AutoCAD 2013 is constantly checking for an XREFSTATE System variable, that according to documentation is stored in the registry. however, process monitor is reporting this variable as not found. So that leads me to a couple questions:
why is it constantly checking the status of the variable
why is the variable not located within the path it is looking for.
View 2 Replies
View Related
May 2, 2013
I'm trying to check for the existence of a drive using lisp, then if not found perform a task (represented in my below example by the alert)
(if (vl-file-directory-p "C: en") T)(alert "exists"))
I know it doesn't work because if I change the T to nil as demonstrated bellow I should invoke the opposite reaction from autocad but instead I get the exact same outcome which is an alert telling me the file exists?
(if (vl-file-directory-p "C: en") nil)(alert "exists"))
View 7 Replies
View Related
Nov 3, 2010
Picture this:
I have a project: project.vsp
I have a file: d:file.avi
I click on "project.vsp" the program starts and i should just be able to render it.
However
The file ("d:file.avi") is frequently rerendered. It has the same resolution, and duration, but the content is new.
Every time i click on "project.vsp" I am told that d:file.avi is missing (even though it isn't) and I have to relink it or skip.
Isn't there some way to just get the program to load the file without bugging me?
It seems if i go to preferences and uncheck the relink setting, the program will instead just skip the file and not load it - which is not desirable..
View 9 Replies
View Related
May 3, 2011
This might be more of an Acrobat question, but is there an easy way to check the resolution of an image that was done in Illustrator and is now sent to you as a PDF?
View 5 Replies
View Related
Aug 26, 2012
I have created a 15 page document in CorelDraw X5, I want to do a spell check of complete document in one go, how to do it?
View 1 Replies
View Related
Jan 22, 2011
When can I expect hyphenation and spell checking for selectable language sin Xara Designer 6 Pro? I am doing a lot of Flyers and some text based graphics with Xara and this is the one feature I am still missing. If it's getting to complicated I switch to Corel Ventura Publisher which has not been maintained since ages, but is still a good piece of software. By teh way: Why does Xara/Magix not simply buy Ventura from Corel an include into their packages.
View 3 Replies
View Related
Sep 6, 2012
after rotating a line to make it diagonal, how do you check the degree that it is diagonal so it can be replicated with other lines? It does't show this in Info or Transform Panels.
View 3 Replies
View Related
Mar 31, 2013
When I open Elements 7 on the left side it starts looking for subscription information but it never stops looking. I have to close the program and restart to get in. Thisd is extremely annoying. Why does it do that? I have a legal registered program. How do I get it to stop this?
View 1 Replies
View Related
Jun 3, 2012
Yesterday, I upgraded from LR 4.0 to 4.1. Ever since that moment, when I try to launch it, Lightroom displays a progress bar with message: "Checking Catalog Point Curves". The progress bar advances to about 10% and then stops. I waited for about 20 minutes and it did not move at all. I had to force-quit. I tried that for a couple of times - same results.
Why did Adobe decide to start a new mode of UPDATING the old version instead of REPLACING the old version with the new one, like it used to be? As it was before, I could simply get back to using the older version. Now, there is no going back!
Do you even know what "Checking Catalog Point Curves" means?
View 2 Replies
View Related
Feb 1, 2014
Elemets 11 stopped working with the "windows is checking for a solution" message but nothing after that. I have tried the Ctrl,Alt,shift. Delete Elements settings but this has not worked.
View 12 Replies
View Related
May 31, 2013
Today I noticed a slightly peculiar behavior in the Clone Stamp tool when "Aligned" is deselected. Clicking twice on the image with alt or option held down causes the behavior of the tool to change and "Aligned" to become checked. So if you're not planning on using aligned, you alt/option click your mouse for the source point, decide on a different source point, alt/option click again, and suddenly you find yourself using an aligned clone stamp.
This does not happen with the Healing Brush Tool, which makes me think it's not an intentional short cut. It's also mighty irritating. I've tried it with both x64 and x32 CS6 on Windows. Happens on both. Does it also happen on Macintosh? Is there any way to switch this behavior off?
Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
View 8 Replies
View Related
Feb 10, 2012
In CD X5 is there a "PLACE" feature similar to what Illustrator has to import a PDF into a document without opening or checking for fonts. I've used the import feature in CD but that always scan the pdf for fonts and compatibility.
View 10 Replies
View Related
Feb 8, 2013
What I'm looking to do is show the hidden lines blocked by a part in a plan view but not all of the hidden lines. Ie. I have a top view showing a clearance. If I turn on that clearance a portion of the original part is not viewed. When I turn on hidden lines I now see every hidden detail of that part (I didn't turn on hidden lines for the entire drawing). I then have to eliminate all the lines I don't want which is both tedious and cumbersome. Is there a way to turn on just the lines hidden by a particular object but not all the hidden lines of the part.
View 1 Replies
View Related
Jun 21, 2013
On my company's default drawing template, I have a text block on there with some drawing notes. We often edit some of the notes on the end at each drawing so I didn't create it on the "title block" layer, rather it's on the "top" layer. I also added (in the template) a revision table with Rev. A being "Released for Production" (because we are weird). How can I constrain those on the sheet so when I change sheet size, they stay in the same position relative to the corners of the sheet?
View 1 Replies
View Related
Mar 24, 2013
I am right now working on a door with a door handle and a lock.
So far i have gotten the door handle to work more or less.. The only thing that annoys me is that when i rotate the door handle to the limit, it'll reset rather than "lock" and just wont move anymore.. Anyways, that's not my main issue here.
My main issue is that when i mess around with the lock-handle, it will often interfere and pull in the doorhandle, change the location and just act odd..
It is no problem the other way around. I have no problems using the doorhandle without it doing anything to the lock.. I have tried to make more space between the two handles, but it makes no real difference.
View 2 Replies
View Related
Jun 13, 2013
We are using inventor 2012 at my school and have recently purchased a makerbot 3D printer abd having lots of fun. However i recently created a model that has an M40 Thread as part of the model. However when i try to 3D print it, it doesn't recognise the thread and it isn't printed. I see the thread on the ipt but once it is saved as an stl it seems to disappear.
View 6 Replies
View Related