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


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 :: 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 :: 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 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

AutoCAD Inventor :: Any Way To Explode Sketched Symbol

Apr 11, 2013

is there a way to explode a sketched symbol???  what i would like to do is place a sketched symbol with text from a custom iproperty, once placed it loses the link to the custom iproperty and is just dumb text.

View 6 Replies View Related

AutoCAD Inventor :: Sketched Symbol - Centreline

Mar 19, 2013

I have imported a sketched symbol of 3rd Angle Projection symbol, however, it changes the centrelines to normal lines when placed in the template.  Is there away round this problem?

View 4 Replies View Related

AutoCAD Inventor :: Coordinate In Sketched Symbol?

Feb 25, 2013


Is there anyway to report a coordinate of a part in a sketched symbol.  

I have  a plan view and would like to be able to point to specific part and among other things, report its elevation.

View 7 Replies View Related

AutoCAD Inventor :: Hatch From Sketched Symbol

Jun 21, 2004

While editing and updating my idw drawing, somehow a sketched symbol disappeared. I really don't care about that. But this sketched symbol had a hatch in it (a fill actually) and this fill seam to be painted on my drawing right now. I can't select it, so i can't delete it. The only way it vanishes, is when i delete the whole view, with all of the dimensioning etc. i put on it. Anyway got a clue how to delete this hatch without deleting my view?

View 1 Replies View Related

AutoCAD Inventor :: Leader In Sketched Symbol

Sep 9, 2013

Adding a leader by checking a box when inserting a sketched symbol. My problem is regarding the leader start point. Can we change the justification of the leader or text, so it does not finish centered on my text? I want the leader to connect outside the text box to correspond to our presentation standards.

View 5 Replies View Related

AutoCAD Inventor :: MOVE A Sketched Symbol?

Mar 22, 2012

I have a symbol that gets placed in a certian location on a sheet.  If the sheet changes size i would like the symbol to relocate itself.  Usually i could just find it, delete it and replace it but this one is different.  It has 16 prompted entries that may have been populated by the user.

Easy option=Be able to move the symbol.

Difficult option=Load 16 prompted entries into the a dynamic array and replace save the symbol in the new location. 

I did some reading on attributes, would adding an attribute to the sheet location allow the symbol to move with it.

Inventor 2010

View 3 Replies View Related

AutoCAD Inventor :: How To Delete Sketched Symbol

Apr 3, 2013

I have created a sketched symbol for use in a drawing and inserted the symbol into my drawing. My user defined symbol appears in the symbols list but I cannot seem to delete it. How do I now delete this user defined sketch symbol from my drawing?

Product Design Suite Ultimate 2013
64-bit HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)

View 8 Replies View Related

AutoCAD Inventor :: ILogic Spreadsheet Sketched Symbol?

Feb 1, 2011

I would like to use a multi-value custom iProperty 'item_finish' in the part or assembly model to drive an iLogic rule.

'item_finish' would be 1-24 from the list.

The part file would have an embedded spreadsheet with column A corresponding to the 'item_finish'.

The spreadsheet would have column B containg long text descriptions of the finish process.

The ilogic rule must take the 'item_finish' number, find the corresponding row and then return the B column cell text to a user parameter 'defined_finish'.

The 'defined_finish' parameter can be called in a sketched symbol to describe the finish.

It appears this is all possible, but I cannot find enough information describing the snipped code requiremnets to accomplish the goal.

View 6 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 :: Sketched Symbol Won't Stick To Sketch

Jun 1, 2012

Is there a way to make a sketched symbol "stick" to a view?  I'm sure there is, but I can't remember how.  We're using IV R2011 @ SP2.

View 4 Replies View Related

AutoCAD Inventor :: Sketched Geometry In Drawing Views

Feb 23, 2012

Why is it that when I create a dimension across geometry the dimension shows true, yet if I create sketched geometry in the drawing view it does not?

What I need to do is create an arc of swing for a door.  So I create a sketched arc and then want to dimension the arc radius of the door, yet the dimension shows not true.  How do I make it true?  And why can't I snap to model geometry in the drawing view?

View 6 Replies View Related

AutoCAD Inventor :: Sketched Symbol Hatch - Can't Delete It

Apr 18, 2012

I hatched some area in sketched symbol. Now need to delete it, somehow cant.

View 6 Replies View Related

AutoCAD Inventor :: ILogic To Delete Sketched Symbol From IDW

Nov 5, 2012

How can I delete one Sketched Symbol from my Drawing ? It wont be in use in any sheet, i just need to delete it and the recreate with my code, so by this way the symbol is updated.

The other part of the code is created already, just need this part to delete. I found some ways but just delete the symbol from the sheet, not the source symbol. How can i delete it then ?

View 4 Replies View Related

AutoCAD Inventor :: ILogic Sketched Symbol With Leader

Nov 6, 2013

I trying to insert a symbol with a leader but i have a error message after de step 6, with this code?

the code

' Set a reference to the drawing document.
' This assumes a drawing document is active.
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisApplication.ActiveDocument
[code]......

View 5 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Sheet Number

Jun 17, 2013

On a multi page drawing, I want a sketched symbol to placed on a upper right hand side,  “For BOM, see Sheet: X” to be placed on every sheet except the sheet where the parts list available on the drawings. Also the Sketched symbol prompted entry automatically filled up with the sheet number (Parts list page).

View 6 Replies View Related

AutoCAD Inventor :: Sketched Symbol Becomes Not Visible When Export DWG In PDF?

May 23, 2013

When I export dwg in pdf a sketched symbol with a bmp becomes not visible.

The problem there is if I use the command Export  and if I use the command Save Copy as.

View 1 Replies View Related

AutoCAD Inventor :: Selection For Sketched Patterned Elements

Apr 5, 2013

Is there a way to invert my selection so that I can subtract or extrude the circles instead of the area around them?  As is now, I have to select every circle to subtract them from the shape.

View 7 Replies View Related

AutoCAD Inventor :: Setting Color Of A Sketched Symbol

Dec 3, 2013

Why does a sketched symbol have a SetColor function even though it doesn't do anything? For example, this is "legal" code, but it won't do anything.

oSymbol.Color.SetColor(255,0,0);
 On the other hand, this is the proper method to set the color of a sketched symbol (I could not find this anywhere in the api)
oSymbol.Color = _mInventorApplication.TransientObjects.CreateColor(255, 0, 0);

View 3 Replies View Related

AutoCAD Inventor :: Images In Sketched Symbol Won't Scale

Jun 7, 2012

I'm using two small (JPG)images in a sketched symbol. But when I place the sketched symbol on a drawing, with another scale than 1 : 1, the images won't scale with it. For example, the images will remain outside the sketched symbol when scale is 1 : 2.

How can I make sure the images inside the sketched symbol scale with the symbol?

Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)

View 1 Replies View Related

AutoCAD Inventor :: Change Font In Sketched Symbol?

Mar 26, 2013

We have created 100's of drawings with inserted sketched symbols that has text which has been formatted with the font RomanS. Now that we have switched to DWF published documents, the font prints very light compared to Tahoma.

I was able to obtain all the text styles programatically and update the style to Tahoma. Unfortunately, updating the style does not effect text becuase the text was originally overriden to not use a text style.

Is there anyway via API to update the text in a sketched symbol to point it back to a Text Style?

View 1 Replies View Related

AutoCAD Inventor :: Attach Sketched Symbol To Leader Note?

Jan 14, 2013

Is it possible to attach a sketched symbol to a leader note? I tried the following code, but an error occurs in the line adding the sketchedsymbol. The geometry intent, which seems to be created correct, isn't a valid input for the sketched symbol.
 
Private Sub AttachSketchedSymbolToLeaderNote()Dim oDrawDoc As DrawingDocumentSet oDrawDoc = ThisApplication.ActiveDocumentDim oLeaderNote As LeaderNoteSet oLeaderNote = oDrawDoc.ActiveSheet.DrawingNotes.LeaderNotes.Item(1)Dim oSketchedSymbolDef As SketchedSymbolDefinitionSet
[Code] ........

View 5 Replies View Related

AutoCAD Inventor :: Attaching Balloons To Sketched Geometry In 2012?

Jun 19, 2012

know if we can now attach Balloons to sketched geometry in the .idw in 2012?

View 2 Replies View Related

AutoCAD Inventor :: Sketched Symbol Preview On Mouse Cursor?

Jul 4, 2012

Is it possible to get the symbol preview sticking on mouse cursor while my own insert sketched symbol command is active? Is this a special cursortype or how to realize this?

View 4 Replies View Related

AutoCAD Inventor :: Create Sketched Symbol With Prompted Text?

Feb 4, 2013

Usually I use the TextBoxes. But its text would not change.

How to use vb.net to add a prompted text into the definition of a sketched symbol?

View 2 Replies View Related







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