AutoCAD Inventor :: Insert Sketch Symbol Using ILogic

Mar 21, 2012

insert a sketch symbol to a specific coordinate on a dwg border (top middle of dwg)

Workflow needed is as follows
 
Copy Sketched symbol folder from Standard.dwg from (C:UsersPublicDocumentsAutodeskInventor 2012Templates.Paste into open dwg document and yes to all to overide symbolsPlace a named sketched symbol from drawing resources folder ie (PRELIMINARY) to top center of all sheets within documentreturn to first sheet when complete My new dwg has symbols in correct place so any new dwgs this is ok but we need to add it to hundreds of dwgs when opened or revised,so i want to tie this to external rule and trigger on save event.

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Insert Sketch Symbol Using Ilogic?

Aug 15, 2013

I want Inventor to add sketch symbols automaticly on cordinates according to a Custom Text Paramater

for example I have created Custom Multi Value Text User parameter Approved & Not Approved or Plate Work Notes & SteelWork Notes  wich each represent diffrent sketch symbols that needs to be placed out base on the value selected. Each sheet consist of diffrent sketch symbols

View 1 Replies View Related

AutoCAD Inventor :: Scale In Sketch Symbol With ILogic

Oct 1, 2013

I am trying to create a sketch symbol with info about the first view on a sheet.  It seems to work fine with any of the properties built in, but I am trying to include the scale.  There are lots of posts about putting scale in a title block, but I can't seem to get the same code to work for a sketch symbol.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Controlled Sketch Symbol

Apr 19, 2012

How do i target a specific sketch symbol within a view and control it with iLogic?

View 9 Replies View Related

AutoCAD Inventor :: ILogic Change Sketch Symbol Text Font

Jun 17, 2012

My iLogic ability is quite limited outside of what I use regularly?

I am trying to change the font style in every text definition in all my sketch symbols in one go. Actually I have started it based on only a selection set but I would be happy with just all symbols too. Below is where I got to, I am stuck on the For Each line to cover each text box in the symbol. Some of the other syntax may not be right either but I can't test it all the way through.
 
Dim oDoc As DrawingDocument: oDoc = ThisApplication.ActiveDocumentDim oSheet As Sheet: oSheet = oDoc.ActiveSheetDim i As LongDim oSymDef As SketchedSymbolDefinition: oSymDef = oDoc.SketchedSymbolDefinitions.Item(i)Dim oText As TextBoxesFor i = 1 To oDoc.SelectSet.CountFor Each oText In ............oSymDef.TextBoxes.Item(i).FormattedText ="<StyleOverride Font='ARIAL'>...< /StyleOverride>"NextNextInventorVb.DocumentUpdate()
 
Also the XML style override is not complete if this is the only way to achieve this result.

Inventor Professional 2013, Autodesk Simulation Multiphysics 2013
Windows 7 x64 Core i7 32GB Ram FX2000

View 6 Replies View Related

AutoCAD Inventor :: Flexible Sketch Symbol

Jul 24, 2012

I dont know any way of making a flexible sketch symbol. say the way hatch can be flexed in autocad.

is that something which can be done in inventor.

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

View 4 Replies View Related

AutoCAD Inventor :: Dimensions In Sketch Symbol?

Jul 30, 2010

I need to create skech symbols to illustrate mounting schemes, so without scale. I need to put dimensions in the symbol, which are only annotation, not parametric. This dimension must be visible once the symbol inserted on the sheet.

When I create the dimension in the sketch, it is always a paramertric dimension, which drve the drawing and is not visible in the inserted symbol.. How can I do to have only an annotation ? (I precise the option "sketch only" does not function on dimensions)

View 2 Replies View Related

AutoCAD Inventor :: Existing Sketch To Symbol?

Dec 17, 2013

Is there a way to turn an existing sketch into a symbol, in an idw, so that it can be reused?

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 :: Modify A Sketch Symbol Globally

Nov 9, 2012

Is it possible to modify a sketch symbol that has existing prompted text while keeping the existing prompted text? For example, I have a sketch symbol that is placed on every detail on the drawing. We could have 8 details on a drawing.

This sketch symbol uses prompted text to fill in the relevant information for each detail. Is there a way to change the sketch symbol globally and then copy the sketch symbol in to each drawing without losing the prompted text? Currently I have to modify the sketch symbol within each drawing. To keep the prompted text.

View 1 Replies View Related

AutoCAD Inventor :: Sketch Symbol Connection Points?

Oct 7, 2011

I am trying to get Sketched Symbols with leaders to align.

I have a sketched symbol defined that has connection points defined at the outer quadrants.  If the symbol doesn't have a leader they snap together at the connection points without any problems.

If the symbols have a leader they either won't snap, or jump to a random location depending on what grip you select to move. 

The following video image shows the problems with the symbols with leaders. 

View 1 Replies View Related

AutoCAD Inventor :: Turn Existing Sketch Into A Symbol?

Jun 2, 2012

ACA2011My dimensions seem to be fickle with regard to snaping. I've got my OSNAPs on, and I can't snap to a structural beam above, nor can I snap to a window sill. I can dim to the mid point of the window sill by using .x & .y filters, and can only snap to the axis line on a beam. Is there a toggle somewhere?

View 4 Replies View Related

AutoCAD Inventor :: Insert DWG In IDW Or Sketch

Oct 30, 2012

My issue is the lack of speed and responsiveness in Inventor when I insert a (piece of an) autocad dwg. I had this issue on several machines the last couple 'o years.

Inventor 2012 lastest service pack
RAM: 24GB DDR3 / CPU: Intel Xeon W3690 @3.47Ghz
Video: NVidia GeForce 680/ HDD: 15.7K
Windows 7 Pro 64-bit

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 :: 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 :: 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 :: 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 :: Insert A File Into Sketch API

May 30, 2012

I've been doing some searching on these forums for an API to insert an ACAD file into a sketch.

Is there an API call to do this? I found that I can use the command manager with PostPrivateEvent :
 
oCmdMgr.PostPrivateEvent(PrivateEventTypeEnum.kFileNameEvent, sFileName)
oCmdMgr.ControlDefinitions("SketchInsertAutoCADFileCmd").Execute 

It works great for my purpose BUT it doesn't auto constrain the endpoints, which is essential as I need to extrude /sweep after it has inserted.

There is an option to constrain end points when you manually do the import, but the command manager mustn't have any access to options ? So two questions I guess

1. Is there an API to insert an ACAD file into a sketch ?
2. If there isn't, is there another way to constrain the end points to make a loop after the insert?

View 1 Replies View Related

AutoCAD Inventor :: Creating Custom Dialogue To Edit A Sketch Symbol Text?

Jul 18, 2013

What I would like to do is create a custom dialogue for each of 3 or 4 standard sketch symbols we use on a regular basis. I'd like to load 'suggsted' values out of an excel spreadsheet and allow the user to pick from them or enter in a custom text string if required.  The values would then become part of the sketch symbol.

I've spent some time looking into iLogic rules and I think I've determined that they're not flexible enough to do what I want.

If I'm correct, it is possible (or a good idea) to do this using a VBA macro? I'm a little hesitant to go down the full blown add-in route. While I'm pretty confident I could work it out.

View 3 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 :: 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 :: Sketch Insert Image Command

Jul 26, 2013

I am attempting to insert an image into a sketch to be used as a decal, but it appears as a blank gray box. I created this image in Photoshop CS5 on my Mac Mountain Lion partition. I am running Inventor 2012 on my Windows 7 64-bit partition.

I appear to only have a problem with that specific image. All other images on my harddrive insert correctly. I have tried multiple file types (.jpg, .png, .gif, etc), but nothing has worked. URL.....It may be necessary to note that the image is white text with a transparent background.

View 5 Replies View Related

AutoCAD Inventor :: ILogic For Sketch Symbols

Jun 24, 2013

I want to replace view labels in drawings with sketch symbols to get a different appearance to my drawings. (As far as i know it is not possible to change the appearance of the standard view label.) See attached snap of my desired view label.

I have used i logic on several occasions successfully but im not experienced at all.  The way I see this working is for a sketch symbol to be inserted below a view when it is created,the standard view label being omitted & the Scale/Name/Sheet details linking to the sketch symbol through parameters.

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Get Extents Of A Sketch?

Sep 13, 2011

Is there some method to get the extents (i.e. bounding box) of a sketch? I'd like the vertical and horizontal dimension.

View 1 Replies View Related

AutoCAD Inventor :: Sketch In Paperspace Using ILogic

Oct 20, 2011

I need to draw in a sketch on a drawing. The sketch is created OK, but I get the error "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))" at Call oSketch.SketchLines.AddByTwoPoints.

Dim oSketch As DrawingSketch
oSketch=ThisDrawing.ActiveSheet.Sheet.sketches.add
Dim oTranGeo As TransientGeometry
oTranGeo = ThisApplication.TransientGeometry

' Draw two point line in the sketch.

Call oSketch.SketchLines.AddByTwoPoints(oTranGeo.CreatePoint2d(10 * 2.54, 10 * 2.54), oTranGeo.CreatePoint2d(30 * 2.54, 45 * 2.54))

View 3 Replies View Related

AutoCAD Inventor :: Sketched Symbol Insert Doesn't Recognize Center Of Hole?

Apr 9, 2012

We've got a sketched symbol that locates to the center of holes on a part.Problem is, the symbol either doesn't recognize the hole's center and even if it does, the center of the symbol (the designated insertion point) jumps to the edge of the hole.I've even recreated the symbol and I get the same effect.

View 9 Replies View Related

AutoCAD Inventor :: When Specific Symbol Is Inserted To DWG Needs To Trigger ILogic Rule

Oct 3, 2013

I have a symbol that when I insert it into my dwg, I would like it to trigger a rule to create custom properties and fill out those properties. Ive already created a rule that is 100% working, I am just curious if its possible to have that rule triggered when I insert a specific symbol?

View 3 Replies View Related

AutoCAD Inventor :: ILogic To Insert Row Into Excel

May 28, 2013

Is it possible to use iLogic to insert a row into excel?

View 1 Replies View Related

AutoCAD Inventor :: ILogic Sketch Curve Counter

Apr 17, 2013

Much of our work is structures fabricated from steel plate.  One of our practices is to add a note " (SK) " to the description of plates that have a detailed sketch somewhere in the fab drawing set (simple rectangular or circular plates with no additional features do not get these detailed sketches).  The actual "detailed sketch" is just a dimensioned drawing view of that plate.

I've been working on automating this process so that Inventor can actually determine for the user whether or not the sketch is required.  I have it in certain part templates by default.  Other templates add the note automatically through iLogic when certain plate features are selected, or when the model consists of multiple part features.

This leaves one remaining case that the current set of rules can't catch - when the user creates cutouts, notches, etc. by modifying the sketch for the original extrusion.  I have determined a method for catching that case, but haven't yet figured out how to program it.

What I want to do is count all of the lines, arcs, and circles in the first model sketch.  If that count returns a number other than 4 lines, the note will be added.  If any arcs are detected, the note will be added.  If any circles are detected with lines also present, the note will be added.  There may be other cases that will come up in testing that need to be covered, but I ran into an issue before I got that far.  Construction geometry messes up the count - I need a way to exclude it.

Below is the test code I have so far for the counter.  what techniques I can use to get construction geometry out of the count.  This code doesn't include the provisions for actually adding the note yet - I'm just trying to get the counter working right first.  Instead it's just displaying the total count in a message box for test purposes.

oDoc=ThisDoc.Document
oSketch=oDoc.ComponentDefinition.Sketches.Item(1)
LineCount=oSketch.Sketchlines.count
CircleCount=oSketch.SketchCircles.count
ArcCount=oSketch.SketchArcs.count
TotalCount=LineCount+CircleCount+ArcCount
MessageBox.Show("Total Count "&TotalCount, "Title")

View 3 Replies View Related







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