AutoCAD Inventor :: Auto Balloon Macro For Custom Sketched Symbols?

May 29, 2013

I'm trying to create a macro which will attach a custom sketched symbol with a leader to some specific parts in a view. By modifying some sample code I managed to create a macro which will attach the sketched symbol to the currently selected edge (see code below). However I would like to select the view and let the code cycle trough all the parts and check the filename or a custom iProperty. If the filename has a certain pattern or a specific custom iProperty exists it should add the sketched symbol. I don't really see how I should do this, I can get a reference to the selected view and as far as I can see I can use the referencedfiledescripter to open the assembly and cycle through the occurences. However I don't see how I can use this to add the sketched symbol to the occurence in the drawing view.
 
' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument ' Set a reference to the active sheet. Dim oActiveSheet As Sheet Set oActiveSheet = oDrawDoc.ActiveSheet ' Set a reference to the drawing curve segment. ' This assumes that a drwaing curve is selected.
[Code] ......

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Deeper Into Sketched Symbols

Sep 10, 2013

1) Is it possible to add a pull down menu in a prompted sketched symbol to select predetermined values instead of typing them ourselves? I would like for the symbol to behavior to be similar to a cad dynamic block.

2) I'm looking to know if we can add simple rules in prompted entries? What I wish to accomplish is to have a default value that fits our need 80% of the time and for exceptions we can write in a different value when prompted. I know we can edit text after inserting symbols but we are rushed quite often and manual editing can be forgotten.

View 7 Replies View Related

AutoCAD Inventor :: Sketched Symbols GetResultText

Nov 18, 2007

I am having a small issue with getting the correct text from a sketched symbol in an IDW. I can populate the dialog box OK when i hard code the Sketched Symbol definition. The issue i have is the sketched symbol may have been inserted 3, 5 or more times and i need to extract the text from the last inserted definition. So by setting a simple counter i can count how many time the Sketched Symbol has been inserted and then by running the code below i can read the text.

Set oPESS = oPEDoc.ActiveSheet.SketchedSymbols.Item(oCount)
oSSPE1 = oPES.GetResultText(oPES.Definition.Sketch.TextBoxes.Item(1))
oSSPE2 = oPES.GetResultText(oPES.Definition.Sketch.TextBoxes.Item(2))
oSSPE3 = oPES.GetResultText(oPES.Definition.Sketch.TextBoxes.Item(3))
oSSPE4 = oPES.GetResultText(oPES.Definition.Sketch.TextBoxes.Item(4))

All fine so far but and here is the real issue if ther have been other sketched symbols inserted in to the IDW the code above doesn't work.

What i need is a single line to replace the first line in the above code that will allow me to define the sketched symbols name and then by using the .item(oCount) (as above)to say this one extract the text from that sketched symbol.

View 4 Replies View Related

AutoCAD Inventor :: How To Position Sketched Symbols

Jul 19, 2012

I have a lot of small parts to generate and I need to put them on A0 sheets. I have created customer borders (4 pane, 6 pane & so on), so that I can place multiple parts on one sheet.

I have several bits of information that is unique to each part, but must be indicated, so I have created sketched symbols that has model properties in. Effectively each pane on the sheet has it's own "mini title block" that displays the information unique to each part.

I also have assemblies, so therefore I need to display the BOM. I find that the BOM for the assembly "snaps" neatly into the corner of each pane, but I don't seem to be able to get the same effect with the sketched symbols. The positioning of the sketched symbols look "tatty" and once it has a leader attached (which I switch to not visible), the sketch symbol seems to snap to some sort of invisible grid.

Ultimately, I will be delivering the drawings in AutoCAD format so it will be possible to zoom up and see these mis-alignments very clearly. That makes things look very unprofessional.

Any way to position the sketched symbols neatly.

Windows 7 Pro (X64)
Intel(R) core (TM) i7-2600 CPU @ 3.40GHz
16.0 GB RAM
Nvidia Quadro 600
Autodesk Inventor 2013 Professional Ultimate Design Suite

View 3 Replies View Related

AutoCAD Inventor :: Creating Intelligent Sketched Symbols

Feb 1, 2012

I am currently working on creating new symbols. Now I want to keep the look of the symbol (see attached) but I want all the text to be automated as the text is currently "prompted entry".

Now when I go into the edit the text within the symbol sketch, I need the "view label properties" from the drop down menu but its not there! Is there a way that I can get the "view label properties" into the drop down menu??? What I am after is to attach this symbol to a view and the symbol will automatically show the name of the view and the scale.

OR........ If there is any way that I can get default view label to look like my symbol?

View 9 Replies View Related

AutoCAD Inventor :: Sketched Symbols And Part Numbers

Oct 5, 2012

I have several sketched symbols that I use with references to various properties embedded in them. Once of these is a sketch block that picks up the part number, description and so on. In order to get this to work, I place the sketch block and drag the leader to point to the part.

For assemblies the process clearly needs to be different. If I have various parts and assemblies shown on one sheet, how can I use a sketched symbol to pick up the ASSEMBLY number from one of the view.

Parts are fine (as explained above), but when I place a sketched symbol and do not attach the leader it picks up on the part number of the first component / assembly placed on the sheet.

I would like to have a sketched symbol reference a specific assembly, and list all its properties (i.e. part number, description, mass and so on). 

Is there a way to do this? Please consider there could be more than one view on the sheet that has an assembly (or a part for that matter). I think I am looking for a way to link the sketched symbol to the assembly or specific view.

Windows 7 Pro (X64)
Intel(R) core (TM) i7-2600 CPU @ 3.40GHz
16.0 GB RAM
Nvidia Quadro 600
Autodesk Inventor 2013 Professional Ultimate Design Suite

View 1 Replies View Related

AutoCAD Inventor :: BOM Numbering - Auto Balloon

May 31, 2012

I have an issue when using Auto Balloon.

Lets say for e.g. that I have 12 parts within an assembly, once auto balloon has done it’s job you notice that No. 9 balloon is blank and No. 10 balloon only shows 1 and not 10.

View 4 Replies View Related

AutoCAD Inventor :: Auto Balloon Command Using Drawing API

Jul 8, 2010

If we can access the Auto Balloon Command using Inventor Drawing API.

View 6 Replies View Related

AutoCAD Inventor :: Cannot Auto Balloon An Ipn View / 2012

Aug 23, 2012

I can not auto balloon an ipn view in a idw file? I can select the view to auto balloon but can not select any parts.

Inventor 2013
GeForce GTX 580
Windows 7 64 Bit

View 4 Replies View Related

AutoCAD Inventor :: How Are Arrowhead Locations Calculated / When Using Auto-Balloon Command

Nov 13, 2012

How are arrowhead attachment locations calculated when using the Automatic Balloon command?  Arrowheads seem to attached to objects at rather strange places!

I normally use auto-ballooning to place balloons within a drawing and then "season to taste".  Is there a way to control how and where the arrowhead gets attached to an object?

View 3 Replies View Related

AutoCAD Inventor :: Custom Detail Balloon

Jul 15, 2013

I dont know if this is possible but what i am trying to do is create a custom detail ballon & outline similar to what is attached. this is how our client wants it to look & currently we create the detail & then sketch the outline & add a sketched symbol which has the identifier. We then turn off the detail layer which has the default outline.

View 1 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Custom Property

Nov 30, 2011

I am trying to create a sketched symbol on the fly that has custom properties in it. I am also creating the custom properties on the fly. I need to get the actual expression for the property into the sketched symbol not just a value. I need this so that I can export the drawing as an autocad .dwg that has attributes in it.

View 3 Replies View Related

AutoCAD Inventor :: Create Custom Symbol For Balloon?

Jun 17, 2013

is it possible to create a custom symbol for my balloon?

View 2 Replies View Related

AutoCAD Inventor :: Auto Run Macro On Pressing SAVE Or NEW

Jul 16, 2013

I have created an "addin" to monitor the "SAVE" & "NEW" button press on Inventor.What is the possibility of AutoDesk including this feature to the next release, or better still, creating a "patch" so that inventor can be upgraded to do it automatically, without the need to write an "addin"?

For Example,

If the user presses the "SAVE" button, AutoDesk Inventor would automatically look to see if a macro called "OnSave" exists. If it does, it "runs" the macro, if it does not exist, it works exactly as Inventor does now. This also would work in a similar way when pressing the "NEW" button.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Custom Balloon Notification

Sep 29, 2011

Is there any way i can create my own custom balloon notification to alert the detail of any new or updated menu items?

View 2 Replies View Related

AutoCAD Inventor :: Custom Library Created By Material Guide Auto Drop Table

Nov 20, 2011

I have created the Custom library of ISO bolts by adding the Material to existing ISO library using the Material Guide.
 
The goal is to make bolts black and anodized to be more specific with purchase orders from very beginning.
 
After the adding the material everything is working good except the auto drop. There is a wide Table pop ups with a lot of unnecessary info.
 
Is it possible to choose the columns to represent there? I mean leave just Material or Part Number ?

[URL] ........

View 2 Replies View Related

AutoCAD Inventor :: Unable To See A Selection For Weld Symbols In Annotate Symbols?

Nov 18, 2011

When working in a drawing, I don't see a selection for weld symbols in Annotate - Symbols.  Are they not available in LT?  Is there something I need to do to activate them?

View 1 Replies View Related

CorelDRAW Graphics Suite X5 :: Macro Works With Symbols

Mar 31, 2011

Does the following macro works with symbols of Coreldraw X5?  I mean the symbols/clone feature, where you can duplicate same objects and when you change one automatically the others changes as well. But this is not the traditional clone option of corel draw. URL.....

View 2 Replies View Related

AutoCAD LT :: Macro Auto Increment Numbering With DIESEL

Dec 21, 2011

My DIESEL is not so good.I have a macro and he works, but when i touch enter. He doesn't start over, but start halfway.

userr1! ^C^C-layer;m;H17-Tekst;;-style;Standard;;;;;;;;c;5;-mt;@0,0;h;3;j;mc;@0,0;$m=$(getvar,userr1);;userr1;$(+,1,$(getvar,userr1))

View 2 Replies View Related

CorelDRAW Graphics Suite X5 :: File Converter Macro For Symbols

Feb 16, 2012

Is it possible to edit this macro so I can convert a bunch of symbol libraries I have created in X5 to X3?

View 3 Replies View Related

CorelDRAW Graphics Suite X5 :: Error Running Macro Using Symbols

Sep 28, 2011

I am new at creating a recorded macro in Corel X5..I have done the steps to record a macro for changing a text colour within a symbol...i get an error debug message ActiveShape.Shapes(26).PowerClip.EnterEditMode

what i want to do is change a coloured text from black to white that is symbol. i have several different text that are in symbol and it is a pain to enter each one and change a colour.

View 8 Replies View Related

AutoCAD LT :: Macro In 2012 To Auto Label Rafters With Lengths

May 9, 2012

I need a macro to auto label, with DIMLINEAR, the lines for Rafters with the lenghts. I have the Dimension Styles set up for each roof pitch, but need a macro to auto label the line instead of clicking each line individually. Also, I can't find a ROUNDUP feature in the Dimension Styles. I've got it to round to the nearest 2' but it won't go up....if it's 11' it goes to 10'...I need it to go to 12'.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Macro - Auto Numbering

Aug 6, 2012

I urgently need a program that can auto number panels for a large drawing I have. I have a lisp program for auto numbering but we need each insertion of text to start with a P i.e. P1, P2, P3 etc etc.

View 2 Replies View Related

AutoCad :: Custom Symbols In MText

Dec 27, 2011

I'm in 2006 Map and 2006 LDT

I've had a custom RomanS.shx for the past 15 years that has additional symbols in it that are not in the standard one.

For example:
%%150 = Centerline
%%130 = Delta
%%133 = Property Line
%%201 - 210 = Roman Numerals, and more.

They work great in old style single line text, but they have never worked in MText. I just get a question mark, until last week. The centerline symbol showed up in a piece of text imported from an outside DWG, but I could not figure out how. I could not see what code was there, it totally stumped me, but it got me thinking. Is it possible?

How I can get these characters to show up properly in MText? And not the symbols that are in there via the U+ codes. They look so different than romans that I can not use them.

View 7 Replies View Related

AutoCAD Inventor :: Adding Save Run Macro To Automatically Run Macro

Dec 30, 2012

I have been using the addin "Save Run Macro" to automatically run a macro every time the "Save" button is pressed.

Any of the following questions about "Save Run Macro"?

1] When I protect the macro from viewing (so I can protect my code) "Save Run Macro" does not see the macro.

2] When I save the part for the first time (ipt, iam or idw/dwg) the macro does not run. I always need to run the macro again.

View 1 Replies View Related

CorelDRAW X6 :: Macro Auto Open Upon Start Up?

May 22, 2013

Is this something easy I can do? Have my Macro Auto Open Upon Start Up?

Okay, so the simple macro i have been working on isnt just for personal use. We will use this macro all day long - but the issue is - my coworkers im sharing the macro with would prefer the macro open when program opens.

Now that i had set the macro's position down - how do i got about having the macro auto open upone start up.

View 6 Replies View Related

CorelDRAW X3 :: Develop Auto Dimensioning Macro?

Oct 20, 2008

How to develop an auto dimensioning macro for CorelDraw x3. I have seen this feature built in to FlexiSign Pro. This macro would save so much time and work with consistency!!! Is it doable?

View 14 Replies View Related

AutoCAD VB :: Transferring Custom Macro From 2004 To 2012

Aug 12, 2013

We are now running AutoCAD 2012 on our network.  We had a third party come in a long time ago and write us a custom macro that generates specsheets for our product.  The problem is it was written for AutoCAD 2004.

Any way to move that code from 2004 to 2012 somewhat easily.  If not easily, at least tell me that it is possible without having to rewrite the entire macro.

View 9 Replies View Related

AutoCAD 2010 :: Custom Menu That Reflects Each Clients Colors / Symbols And Layering

Mar 31, 2012

I work all across the country with different architects and engineers on a contract basis. Typically I create a custom menu that reflects each clients colors, symbols, layering ect. But now I have just upgraded to Acad 2012 and don't know how to create a custom menu in 2012 for each client. Is it even possible? What I have found is the customize button but when I modify a command for a specific client it makes the same change for all clients, as all that I was doing was modifying a workspace, and only modifying the command. What I have done in the past is to take the Acad.mns and copy it and rename it client-name-Acad.mns and make the necessary changes that the clients standards required. Can I still do something like that?

View 1 Replies View Related

AutoCAD 2010 :: Transferring Custom Macro From 2004 To 2012?

Aug 9, 2013

We are now running AutoCAD 2012 on our network.  We had a third party come in a long time ago and write us a custom macro that generates specsheets for our product.  The problem is it was written for AutoCAD 2004.

move that code from 2004 to 2012 somewhat easily.  If not easily, at least tell me that it is possible without having to rewrite the entire macro.

View 5 Replies View Related

CorelDRAW Graphics Suite X6 :: Finding Auto Dimension Macro?

Dec 9, 2013

I am looking for a (preferably free) Auto Dimension Macro for X6.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved