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


ADVERTISEMENT

AutoCAD Inventor :: Model Custom Property To Sketch Symbol Definition

Sep 29, 2011

How would i insert the "variable name" of a custom iProp to a sketched symbol definition (in an idw)?

I can plonk the value of the iProp in no worries, but to make it "live" is a bit beyond me...

 Sub WeldNote()On Error Resume NextDim oDoc As DrawingDocumentDim SketchedSym As SketchedSymbolDefinitionDim oNoteDef As SketchedSymbolDefinitionDim oDefSketch As SketchDim oTextbox As TextBoxDim SNewText As StringDim sNoteText As StringDim oReffedDoc As DocumentDim lReffedWeldType As Long'Err.ClearIf

[Code].....

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

AutoCAD Inventor :: Why Insertion Point Of Sketched Symbol Copied

Jun 20, 2013

When i edit the sketched symbol "Work Stages", i copy the line which the the arrow points at, but with it goes the green insertion point, and i can't delete it.

View 1 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Prompt Text And ILogic

May 16, 2012

I have created a Sketched Symbol "Replace by" with a prompt text where I must write the new drawing number.

I'm trying to use Ilogic function to copy the Prompted text into a custom drawing iProperty.

Here is the code :

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    3471 StartFragment:     314 EndFragment:    3439 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet
SubMain()oInvDoc=ThisApplication.ActiveDocument
ForEachoSymbolInoInvDoc.ActiveSheet.SketchedSymbols
IfoSymbol.Name="Replace by"TheniProperties.Value("Custom", "Replace by")=???????EndIfNext
End Sub

I work  with IV 2012

View 1 Replies View Related

AutoCAD Inventor :: Insert Sketched Symbol At Center Of Part Via C#

Feb 14, 2012

I'm currently trying to automatically cycle through all the parts in a given assembly within a drawing and place a sketched symbol at the COG of each part using C# (Visual Studio Express 2010 with Inventor 2012). The main code snippet is as follows:

//'Sketch Symbols
SketchedSymbolDefinition symDef = oDoc.SketchedSymbolDefinitions[1];
int i = 1;
while (i <= oBOMRows.Count) {
BOMRow oRow1 = oBOMRows[i];
ComponentDefinition oCompDef = oRow1.ComponentDefinitions[1];

[Code] .....

I've tried several routes, but this is my basic approach. I feel like I am missing some GeometryIntent or something of that nature as the Sketched Symbols are showing up at the correct position but they are not associated with the given part (I've attached a screenshot of what is currently happening - the wipeouts you see should be displaying a property in them that is associated to the part). I also do not want the leader to be visible.

View 1 Replies View Related

AutoCAD Inventor :: Sketched Symbol - Pick List Options?

Jun 16, 2006

Is there any built in option for a symbol to have a pull down pick list of options? I know that you can make it have a prompted entry, but can you do a sim idea with a pick list?

View 5 Replies View Related

AutoCAD Inventor :: ILogic Copy Of Sketched Symbol From Template To IDW

Dec 8, 2013

I want to have a template IDW containing sketched symbols representing various possible drawing status stamps; when the drawing is ready for publish I want to run a rule which allows selection of one stamp for insertion on the drawing.  how to copy the symbol from the one drawing to the other.  Here is my non working

'Query stamp insertion requirementquestion = MessageBox.Show("Do you want to insert a stamp?", "Stamp Requirement",MessageBoxButtons.YesNo,MessageBoxIcon.Question)If question = vbYes ThenDim strSelectedStamp As String = "Result2"Dim strStampList As New ArrayListstrStampRequired = TruestrStampList.Add("F&C Stamp Round")strStampList.Add("As-Built Stamp.
[code]..

I get a 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' error. 

View 7 Replies View Related

AutoCAD Inventor :: Find ILogic Sketched Symbol Bounding Box?

Jul 31, 2013

Is there any way to obtain the width and height or bounding box of a sketched symbol?

View 1 Replies View Related

AutoCAD Inventor :: Create A Text Direct Inside On Sketched Symbol

Nov 1, 2012

With iLogic, define some pre notes and when the user choose one option some notes are chosen too.The idea now is: Create a text direct inside on Sketched Symbol OR edit some textfields inside the Symbol.

The symbol could be one existent, so its not necessary to create it.

I got a code to create the text, and that works perfectly! Just what im trying now is create this text into the Symbol... I've tried many ways with reference from: URLs....The code to create the tet im usnig is this one:

' a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocument ' a reference to the active sheet. Dim oActiveSheet As Sheet oActiveSheet = oDrawDoc.ActiveSheet ' a reference to the GeneralNotes object Dim oGeneralNotes As GeneralNotes oGeneralNotes = oActiveSheet.DrawingNotes.GeneralNotes Dim oTG As TransientGeometry oTG = ThisApplication.TransientGeometry ' Create text with simple string as input. Since this doesn't use ' any text.
[code]....

but, if i could just edit one existent text filed into the symbol would be great too and one "extra doubt", in all the codes that i get here, i have to erase the "public sub" and the "set" from all code, am I doing something wrong ? I'm running directly from the iLogic window.

View 3 Replies View Related

AutoCAD Inventor :: Sketched Symbol - Fill Text Box With White Color

Feb 2, 2012

I want to fill the text box with white color so that the hatching in the views does not interfere with the text inside my text symbol.

as per my understanding this is not possible.. I thought of an alternative-- draw a rectangle instead of text box but was not able to find a way to make it fit to the length of the text. Note that : the text will be varying and so the text length.

Config :: Intel (R) Xeon (R) CPU E31245 @ 3.30 GHz, 16.0 GB, 64bit win7
Inventor 2013 and Vault Basic 2013

View 9 Replies View Related

AutoCAD Inventor :: Creating Punch Converting Text To Sketched Symbol?

Nov 5, 2013

I have been given the task of figuring out a way to have etching placed on our parts to show the part number of the part. The end goal is to get the parts laser cut but have the part number etched into the part.Is there a way to convert text (i.e. 12345) to a sketched symbol that the punch feature would recognize and then add it to the library? Right now we are using 2012 but will be upgraded to 2014 within the next 6 months.

View 4 Replies View Related







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