AutoCAD Inventor :: Style Update (or Style Update Check) Upon Open Of A Drawing?
Nov 21, 2013
I am wondering if it is possible to do a style update (or style update check) upon open of a drawing?
The example would be that I have stuff made from way back that the colors/dimension sytles ect dont match the current standard and upon opening a file where they are not current, it would either prompt to update immediatly OR update automatically with no prompting (preferred method).
I am doing a massive amount of updates from old files recently and to save myself 1 - 3 clicks per drawing would be wonderful.
I am creating two sizes of flexible hose in an assembly. One is 2" and the other is 1 1/4". In my hurry, I did not change the style for the smaller hose. Now both hoses are 2". I have tried to change the style but it does not update. I created the 1 1/4" style by copying the 2" style and change the diamter. Office Laptop specs:
ilogic function to update local styles to match Style Library?
I have a snippet of code that, on a drawings, deletes the current parts list (if one exists), then inserts a new parts list which I want to be up to date with the Style Library.
Autodesk Inventor Professional 2011 Windows 7 Enterprise, 64-bit
Have some incoming architectural drawings with loads of different tt font types within mtext. I have globally altered the secondary font styles in format however this does not update the font type within the mtext. Have symplex with areal set and visa versa. Looks like the lot has been set manually different for each individual item of mtext. Nightmare. All mtext is inconsistant and loads of different types on the same drawing. Some idiot must have had a lot of beer.
Ideally I would like to set every piece of text and mtext to simlex. Must be an easy way.
I have some text elements for a certain style that are too big. So I want to change them. I can of course use quick select and then set the height, but I'm wondering if there's a way to change the style and have it apply to all text with that style. When I try to modify the style nothing is changed in the drawing. Perhaps texts have the height override that of the style? If so, how do I set to default?
Using the 'Run Other' rule I can run a rule to switch holes on & off in a part. The rule is in the part & the run other rule in the drawing. The drawing will only update once the part is open. I would like to see the part open when the rule is ran from the drawing, how can this be done?
I have a problem with some of our drawing sheet attributes that we are updating from a CSV file. The attributes are originally in Arial Bold but when we run the update routine the font disappears, if we run the update routine a second time it reappears correctly updated but the font has changed from Arial Black to Standard.
I have rebuilt the titleblock and get the same result.
I cant get into the routine because its locked away in an FAS file and the manager is on holidays for a couple of weeks.
The right click context menu on the top level assembly (on the model tree in Inventor) has the option of 'Open Drawing'.
Is there a way to do that via iLogic? Unfortunately I can't figure it out if there is. I would like to open and update the relevant drawing.
Also have tried it the other way around, that is to run my rues in the assembly from the drawing since the drawing is the parent. But I am not sure how to reference the assembly.
How do i get the feature lines in my corridor to change their style based on the code set style selected?Whats the point of defining featureline styles in the code set style if they don't change in the corridor? They only get used when you first create the corridor?
Is there something I am missing or is this the intended workflow?
I made a change to my materials library. I changed the color (from dark grey to light grey) of one material. I then saved this back to my library.
Now, when I start a new part, I get a warning that the material does not match the library. So, rather than using the material in the part, I opened the template and updated the material to match the library. (Manage >Update Styles).
This is where the problems come into play. In the update styles dialog, if I compare materials against my custom materials and then compare it to my Favorites, it just a continuious circle. It is like the favorites are stored inside the part and do not get updated to match the custom materials library. (I thought the whole idea behind using a library was to get the information out of the parts).
Here is a short video showing what it does. [URL] .....
The only way I can get the favorites to match is to delete the favorite material, update the style and the add the favorite back in. That is a bunch of work. The problem I got with this is that there are thousands of parts that have been created that has this favorite in it. The only way to update these is to open each part (if I knew which one), delete the favorite, update the materials and then add the favorite back in.
I read that it's not possible to import a style (styxml file) into the style editor through the API, there is no dedicated command.
However I'm wondering if there's a a way to have the internal name corresponding to the button as we can do for the ribbon buttons (there's a sample code which does this).
So is it possible ot get the internal name of a button inside a dialog box (style editor here) or is it really hopeless to think I can import a style with a macro ?
I am working with a template, that doesn't allow me to change the dimension style. In the project the Use Style Library is set to Read/Write. I have created my dimension style, at this point just a copy of the ANSI standard with a text size difference. I went to my template and set that syle as my default, and saved it. Now the fact that it doesn't automatically update the drawing I had alreadycreated is a nuisance, however if I creat a new drawing, the style has reverted to a different standard, that is not even the ANSI default. If I right click a dimension and change the dimstyle to what I saved it does update, but if I try to change the style again it defaults to a random dimstyle, AND changes the style even if I hit cancel. So... the question is how to make the changes stick?
I am using Inventor Pro 2010.I have a model and I am driving the dimensions from EXCEL. The model updates nicely when I change dimensions but the drawing (idw) does nothing. In the browser instead of the usual tree in the view there is this red lightning bolt and under them is a big plus (+) sign and the words Solid.... after it.I was assuming that the lightning bolt meant something needed updating, but I can't find how this is done.
Why is it that individual views in an .idw always need to be updated? I will highlight a view, the thunderbolt icon lights up, I choose to update it, the view in the browser turns red and then the view up dates. if I highlight the view again it tells me the view needs to be updated again.
I've got a macro which is creating .ipt and .idw files from templates. I'm once created I'm replacing the reference in the .idw to refer to the newly created .ipt file. The problem is that the drawing view isn't updating... I've make the .ipt file dirty then udpate the drawing, but that hasn't worked. I've tried just using the drawingdocument.update function, but that hasn't worked either...
I am having issues with this. I create the part. I create the drawing. I add the part to the drawing. I make a modification to the part and then I select update(Lighting bolt) and NOTHING HAPPENS. Even when I did the local update.
I will review the rest of the thread tomorrow as I am leaving Inventor for today but this is bugging me!!
I can only see the change when I close the drawing and re-open it as of now.
note: When I do hit the update button it does shown the change for a split second then goes back to its previous state. Why does it not stay the new updated version? Inventor 2012
how I can update the physical properties for a part or assembly, from a drawing? My drawing template is showing the total weight for the current part/assembly, and I would love if Inventor could update this using iLogic, so I don't get the "N/A" value all the time.
I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,
currently m using this method.
What is the solution for updating drawing template (like Model Description, Drawing no.).
I am creating exhibit drawings and legal descriptions for right-of-way and easement acquisitions. I'm using parcels to create the various objects for the exhibit drawings: parcels allow me to label the acquisition, area, and lines and curves. The parcel property gives me a 'mapcheck' description that I use to generate my legal description. All good.
How are people generating this sort of information for polylines? I will have polylines from my POB to my TPOB that I need to describe. I have artificially closed these polylines to create parcels from them so I can glean the information that I need, but that feels like a work-around.
as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.
In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table.
doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.
I have two tables on a drawing one showing a parts list the other changes to dimensions.
The table to show the dimension changes is a configuration table pointing to an ipart.
iLogic is used to update the ipart but you have to right click to update the Active Member in the ipart to see the drawing update.
Is there a way to automate the 'update active member'? (on the ipart table - this does update the drawing)
I just have the one row in the table, it's purpose was to pass the values onto the drawing (as the part resizes I didn't want the dimensions moving so opted to tabulate them) - hoping they would update!
or
Is there a way to have a table update parametrically i.e. I've tried .csv as a source to the table but can't force an update. This way I could scrap the ipart & just import the values to a table.
The table also includes some txt comments which change with the ipart properties.
Sometimes I need to revise an assembly/part and I forget to open the drawing first and check a few things before I do. Inevitably my B-Hole employees (that's right, you know who you are if you are reading this! ) don't constrain their section lines and I end up losing a whole bunch of annotations that I then need to put back.
Is there a way to defer the updates to a drawing outside of the document settings for that drawing? I need to open this up, tie down their section lines, attach the detail cuts, etc. then get it to update.
Inventor Professional 2013 (SP-2.3), Product Design Suite Ultimate Desktop: Intel Core i7 3.4GHz, 16.0 GB RAM, Windows 7 Ultimate SP-1, 64-bit OS, (2) GeForce GTX 580 (331.81), Space Pilot Pro (3.16.1) Laptop: Intel Core i7 3.9GHz, 16.0 GB RAM, Windows 7 Pro SP-1, 64-bit OS, GeForce GTX 780 (331.81), SpaceNavigator (3.17.7)
I just installed CS6 Master Collection on Win7 .In Help>Updates is greyed out. My version is 13.0. but on support I see version 13.0.1.1 is there.
[URL]........
How does one automatically check for all product updates and have it install? In past I think CS5 there use to be some sort of update manager application.
I need to remove the update notifications and messages that VS X3 displays upon startup from ever happening. Corel tech support seems clueless, they offer such as "Download and install the updates", which is not an option.
Any way to automate the import of Style Definition files into the style and standard manager in the drawing environment? If not is there some other way to do it?
I created a drawing template, saved on companies common drive, not local. When I created it I also created BOM to be filtered for certain iproperties. When I go "new" and open a new drawing file from the template I get the message about the style conflict and when open BOM in a new drawing I get default columns not the columns I set up in iproperties.
What is the process of setting up/changing styles?
I like to keep the properties of my drawing the same as those of my model. Currently I must remember to hit the "updat copied properties" button in the drawing to discard any old drawing properties and replace them with the properties from the model.
Is there any way to automate this task (perhaps on saving the drawing?) I presume an iLogic rule could be created in the drawing template, just not sure how to go about it.