AutoCAD Inventor :: Icons / Display Text For Macros
Oct 7, 2013
Short of converting to an add-in is there any way to place macro's into toolbars where you can set the Text of the button to something other than the macro name?
I mean, while to those who write them, there's nothing wrong (really) with a command button titled Invoke_This_Fuction or InvokeFunction, it looks quite odd to everyone else.
If the only way is via add-in, that's fine (though a friendly display name should be an option). Just trying to find out before I spend a boatload of time only to figure out you can't
Also, do all add-ins 'have' to be installed? Or is there a way you can just drop a file in the correct path and it'll appear on next running of Inventor?
I am using AutoCad 2012, with CADDUCT. On my runs of duct that go vertical, I like to stack my tag numbers beside the riser in order, so our installers can easily identify the order without a ton of section views. I am trying to figure out a macro that will do numerous things. Since my tags come out at different rotation angles, I would like to do the following commands.
Rotate object text "TAG #" to 0 degrees
move object text "TAG #" to "Snap from" & "snap insert" 6" below the tag above it
I want the numbers to align by their insert locations up and down the page, and exactly 6" on center vertically from one another. The tag numbers have a node justified to the center up and down of the text.
Just installed AutoCAD 2012, started to set up my tools and found many of the ACAD toolbars displaying the wrong, or no icon for the commands. Example: Modify TB
displays "move" for erase "mirror" for rotate "fillet" for explode
This is true with the Draw TB, Dimension TB, UCS TB...and more..I have not even customized any toolbars yet...just turned on/off the AutoCAD ones.
I have made some macros and now with the 2012 version of Inventor it is very very slowly to open the dialog box to choose a macro. I have the windows cursor during 30 second in each time I want to select a macro.
When I have made a shortcut for one of my macros it goes good and quikly.
If I set a keyboard shortcut for a macro, it will function properly until the session is closed. When Inventor is opened again, the shortcut will not be on the keyboard customization list. So far, all shortcuts for regular Inventor functions, and even Add-Ins, will stay present when the session is closed and opened. I've been able to reproduce this on a co-worker's computer, so I don't believe it is an issue related to my system.
Working with inventor pro 2012, whenever I try to run a macro, the program freezes. It happens when I press the tools/macros buttonand it can take 30 sec or more before the macros dialog release and active or I can try to run windows job list which seems to release the jam too.It also happens when I try to run my macro with shortcut key or customized button. It freezes before the macro even loads. If I open the macros editor and run the macro from there (run sub) then there is no delay at all!
I have a users machine that is displaying some odd behaviour. Their Macros and VBA Editor buttons have stopped working. We have tried several things already but nothing appears to have any effect.
We have a problem at work with buttons disappearing from the quick access toolbar.
I already looked around and it is being said that it is a bug, wich can be fixed with a service pack. I work in a big company, and they are refusing to do the service pack.
So the next best thing I can figure is to make a macro, wich will add all the macros I want to the quick access toolbar in assembly level, part level, sketch level and drawing level.
Working with inventor pro 2012, whenever I try to run a macro, the program freezes. It happens when I press the tools/macros button and it can take 30 sec or more before the macros dialog release and active or I can try to run windows job list which seems to release the jam too. It also happens when I try to run my macro with shortcut key or customized button. It freezes before the macro even loads and it is very frustrating. If I open the macros editor and run the macro from there (run sub) then there is no delay at all!
I'm having trouble getting mass properties of an assembly to display in an .idw. I've tried it 2 diffent ways, custom properties-model "Totalmass" where I type the mass and physical properties-model "mass" where it's automatic with update.. Nothing shows, not even N/A, but in another idw (different assembly) it works. Both text boxes are saved within a sketch that is part of a template. Both idw's use the same template. If I place text on the drawing it self it works.
Im linking a prompted entry in a sketch symbol to a selection from the user in an array. The code works perfectly.
The array displays the number of sheets there are in the document, the user selects the correct one & the sheet number is displayed in the prompted entry. I need to add "SHT" before the number though in the code but I cant get it to work.
I dont want to add a text line into the symbol saying "sht"
Dim oApp As Application: oApp = ThisApplication Dim oDoc As DrawingDocument: oDoc = oApp.ActiveDocument Dim oSheet As Sheet: oSheet = oDoc.ActiveSheet
'This uses a sketch symbol with the name "'View On' View Label" Dim oSymDef As SketchedSymbolDefinition: oSymDef = oDoc.SketchedSymbolDefinitions.Item("'View On' View Label")
'This is the selected view Dim oView As DrawingView: oView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter,"Select View To Place Symbol:")
'This takes the label items of the selected view 'And adds it To an array that will link To the prompted entry Dim sPromptStrings(2) As String sPromptStrings(0) = oView.Name sPromptStrings(1) = oView.ScaleString
oDoc = ThisApplication.ActiveDocument
Dim sSheet As Sheet
'create sheet number list Dim oSheetList As New ArrayList i = 0 s = "-" For Each sSheet In oDoc.Sheets i = i +1 oSheetList.add(i) Next oSheetList.add(s)
'get user input mySheet = (InputListBox("View taken form sheet number.", oSheetList, oSheetList(0), "Sheet Number Ref.", "Sheet Numbers"))
sPromptStrings(2) = mySheet
'This is the position for the sketched symbol under the selected view' Dim oPosition As Point2d: oPosition = oView.Center oPosition.y = oPosition.y - (oView.Height / 2 + 2.5)
'This inserts the sketched symbol and fills in the prompted entry. Dim oSymbol As SketchedSymbol: oSymbol = oSheet.SketchedSymbols.Add(oSymDef, oPosition, , ,sPromptStrings)
I'm having a display bug with the menu toolbar icons in Photoshop CS4 Extended. The icons don't show when mouse hovers over them and they don't show at all for the drop down menus. Can this be fixed?
I'm on WinXP, Athlon 64 4000+, 3GB ram, GeForce 6800 GT video card [driver 181.20]. I'm not sure if this is a video driver bug or CS4 bug.
In PSE12 how does one display the icons under the event tab in a categorized tree structure?
In my PSE10 catalog, I have a highly structured event tag tree for 30,000 pictures and videos covering 15 years. This tree has annual main categories and then numerous events in 2nd level subcategories under each year. Below that are tags for which camera/person took the picture as well as other tags for videos, panorama-segments etc. Altogether there are probably several hundred or more subcategories. After importing the catalog into PSE 12 all of these subcategories show up in the top level display causing massive duplication that scrolls for 12 or more screens.
The PSE12 event tab is useless if it can only display every subcategory all at once in a flattened format. I also do not see any way to move these subcategories out of the events tag area and into the keyword tag area to eliminate clutter.
How do I calculate the area for a section of an extruded profile and display it in a drawing note? I see how to add a field <AREA> in the text dialog box, but it comes up as N/A in my text box in the drawing. This is also the case for <MASS> and <VOLUME>. How do I get the drawing fields associated with the physical properties of the model?
I'm running PS CS6 on a new 27"imac. When saving documents in CS6, the majority of times no icon is saved only the file name when viewed from the finder. Around 10% of the documents saved will have an icon, the remainder will not. This is across the board with all file types. If I open up a document through CS6 I can see the file icon in the CS6 as I search, it's just through the finder that I can't.
I have been using PSE 11 for about 6 months with no problems, however, yesterday the prog froze and I had to switch off and re-boot. Now all new uploads are displayed in the organiser as egg timer icons. These will open, but only one at a time when double clicked on. I am on Windows 7. I have uninstalled PSE 11 and re-installed but the problem persists. I have uploaded a very small jpeg and got the same resuilts, which seems to rule out a RAW problem.
I created a couple of icons with Greenfish Icon Editor, which works reliably for me, to assign to macros. They were saved as 16 x 16 32-bit icons. But when I try to assign them, they appear larger and I can't fit them into the space allotted for an icon; in other words, they get clipped.
I am using a symbol that includes a several text boxes. Each text box includes "prompted text" and "drawing properties". When I insert the symbol onto a drawing, the "Edit Property Fields" menu appears. In this menu, I can input my prompted field text or see the various "drawing properties".
My question is, how do I change the order that these property fields are displayed? It seems as if it depends on the order that the text boxes were created while defining the symbol definition. Is there any other way to change the display order?
I'm working on one of our standard layouts for a client. Our typical drawing setup is the base drawing file, surrounded by our Xref'ed border. On said border Xref, we have all the information that does not change between drawings (Revision history, address of job site, etc). The only things that change - and, thus, are not on the xref - are the title of each individual sheet and their number; in the case of these objects, they are located on the drawing file itself in the appropriate position. They are, however, the same font as the text in the Xref - "Standard". Or, at least, they're supposed to be.
The text in the base drawing file seems to be a different version of the text from the Xref - a much blockier, sharper-edged version than the Xref text. My first response was "Okay - I'll just copy/paste the text from the border into my base drawing file, and force the existing text to match the properties of the imported text."
This, however, did not work. The imported text automatically assumed the same form as the existing text. Here's a screenshot from the base drawing, illustrating this (The "Mechanical Plan" also exists on the base drawing, and not the Xref):
I copied the existing text from the base drawing (In this case, the "Mechanical Plan") and pasted it directly into the Xref itself, to see what would happen. Apparently, it wants to stay blocky:
In the latter example, I even tried to force the blocky text to assume the properties of the smooth text via MA (Match properties). I specifically need to make the text in the base drawing conform to the style that the text is assuming in the Xref - which is to say "Smooth."
Is it possible to change the so outdated text buttons in my "Create" panel with visual icons for easier identifying. Haven't you ever been so frustrated reading trough a pile of text just to click your desired object type instead of the more streamlined way of just clicking an icon? The brain perceives and makes out visual data faster than reading text. I can't believe that it has not been implemented yet. It's the 21st century for crying out loud!
Here's my idea: [URL] ...
How to do this and replace them with icons? May be a script or something?
I just completed a fresh install of PDS on a computer and all seemed to go well but when i pick on any of the desktop icons, the little donut spins for about 1-2 seconds and then...nothing.
Everything was working last week and then AM stopped working but Inventor was okay. I uninstalled and reinstalled only AutoCAD and it didn't work and now neither did Inventor. So i uninstalled all Autodesk stuff and reinstalled all PDS apps and now nothing works.
The individual (environment) icons, i.e.; iam, ipt, idw, ipn doesn't show up anymore with my Inventor 2010. When I open Inventor, there is only one common icon shows (I) for iam, ipt, idw etc. How can I make the individual icon visible gain?
I have an addin which has an icon for a button. In Inventor 2012 it displays fine. In Inventor 2013 the icon appears to be enlarged by about 4x, and only the top left corner of the icon is visible. The api clearly states that Inventor will scale the image to size.
This is the C# code I'm using to load the icon. The icon is in my resources file.