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


ADVERTISEMENT

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

AutoCAD Inventor :: ILogic To Change Helical Curve In 3D Sketch

Jan 13, 2014

I'm building a product configuration which includes some helical curves. I want to find out how I can change the direction of a Helical curve feature in a 3D sketch.

Variables like pitch and diameter are parameters, but the direction isn't.

View 6 Replies View Related

AutoCAD Inventor :: Using ILogic To Find Sketch Point Locations

Jul 11, 2012

I would like to use iLogic to find the location of the points of a line, determine if the line is approximately vertical, and apply a vertical constraint if it is vertical.

Here is the code process I envision:

1. Automatically select a straight line.

2. Find the location of its end points.

3. Compare the X-value of the end points to see if they are vertically aligned (or almost so).

4. If they are vertically aligned, apply a vertical constraint.

5. Select next line and repeat.

Is this possible with iLogic? I don't see any way of calling a line's sketch points or finding their location.

View 4 Replies View Related

AutoCAD Inventor :: How To Turn Sketch Visibility On And Off Using ILogic Rules

Feb 29, 2012

How do I turn sketch visibility on and off using ILogic rules.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Part Snap To Sketch For Walkways?

Apr 25, 2013

The company I'm working for is moving toward standardising all plant designs.  iLogic appears to be the best way for rapidly producing assemblies that keep to a standard. 

My new task is to automate the adding of walkways (including hand rails) to large plants.  My idea is that walkways would be added to the plant similar to how frame generator works.  The draftsman would draw a sketch on a plane around the structure.  He would then run a form (That looks like the frame generator form).He would select the lines, a rule would capture the length of that line, pattern the standard walkway along the line until the line intersection, add a corner walkway, and then pattern the straight walkways again.

1) I do not know the ilogic code in order to 'get' a length from the lines that the user selects.

2) how does one constrain the center line of a part to a sketch line.  
 
The second idea I had to create the walkway is (without a sketch), was to have a form that has a dropdown list of all the standard walkway pieces.  The form would work almost like adding a bolted connection to an assembly (e.g. bolt, washer, nut, washer, nut).  The draftsman would for instance,  choose an straight 800mm part, a 1200mm part, a corner(left), a 1200mm part.  Each walkway assembly piece, would then be added to the main assembly in the correct order and constrained.  BTW, is there any book with all the inventor iLogic code, function and uses?  I have found myself pouring though so many forums and picking up bits and pieces, but no actual instruction.  

View 2 Replies View Related

AutoCAD Inventor :: How To Copy And Paste Sketch In Same Plane Through ILogic

May 1, 2013

Here I attached my model view it's just for reference here iam using rectangular pattern and simple ilogic code .Using rectangular pattern we will get all same sizes of boxes but i want to change different different sizes and positions. my idea is without using pattern just draw one rectangular through parameter. Select no. of compartments automatically copy and paste that rectangular in same sketch plane and ask sizes and positions dimensions.

It's possible through ilogic?

In my panel bar options are:

Hight of panel- Hight of panel

width1- Width of panel

Depth1-Depth of panel

com1- no.of Compartments

hIN- No.of Hinges

View 1 Replies View Related







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