AutoCAD Inventor :: ILogic To Overide A Dimension On Drawing
May 17, 2012
So my problem is that I need to include a line on a part drawing that isn't related to the part itself. I need to be able to override the dimension of the line I sketched so that I can include it in my drawing and update the dimension without having to change anything else on the part.
Basically, I want an iLogic rule to overide a dimension, and I don't know how to do that.
View 1 Replies
ADVERTISEMENT
Nov 2, 2012
I was looking to change the fonts in a drawing for the Dimensions and Symbols that might have been inserted in the Dimension text entries.
This can be done manually bu editing the dimentions text after placemement, but I was ooking to set this as a default.. I cannot see where exactly this is controlled in the Styles Manager - I am only able to change the Dimension text font but the diameter symbol font is always on AIGDT.
I was therefore looking for an iLogicvb code that could do the trick, but I am not able to even change the dimension fonts... The code runs with no errors but nothing gets updated in the drawing...
Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
oSheet = oDoc.ActiveSheet
[Code]....
InventorVb.DocumentUpdate()
View 3 Replies
View Related
May 28, 2013
I have one problem in ilogic "How to convert the normal dimension to driven dimension through ilogic"
View 4 Replies
View Related
Jun 12, 2013
I am mechanical drawing and search a better way for the drawing generation. I have to learn some of VBA (or VBS?) for use Ilogic rules. My questions are:
1.- How learn or search more easily and faster the inventor objects for drawings and how to use this objects, undestanding the relationship between its function names and another properties for writing the correct mode in VB? I know some of VB buti see that the library objects from Inventor are "a lot of stuff".
2.- Is there a rule that can get, automatically, the centerlines from a drawing, when the drawings is generated in a idw file? (10 drawing in one idw file ).
Intel i7 2630 processor
6 Gb Ram
Nvidia GT350
View 4 Replies
View Related
May 30, 2013
I am trying to find a way to have iLogic code that looks at a part with only one extrusion, such as bar stock or angle stock and automatically export the length to iProperties. As per the request of the other engineers however, this code cannot be based on a common renamed parameter. Also, since no one draws things the same exact way, it can't be based off of a common dimension parameter either. At least not in terms of d0,d1..etc.
Is there such thing as a code similar to variable=standard.extrusionextentslength that I can imbed within an if then that would pull this information from the model?
View 4 Replies
View Related
Nov 3, 2013
The diametric dimension on the right, dia. 244.9 isn't resembling the real dimension in the weldment.You see in the sketch of extrusion 2 that i gave an internal diameter of 245.
View 9 Replies
View Related
Jun 25, 2013
Is there any way to highlight certain dimensions in a IDW drawing (i.e. color the background of that text yellow)?
View 6 Replies
View Related
Aug 31, 2012
I am using Inventor 2013. For some reason I cannot dimension some of the model entities in the drawing views in an idw file. I can retrieve the model dimensions but it is usually easier to create the dimensions I need in each view. I can select the line, curve, etc. when dimensioning but nothing happens.
After I think about it. What I cannot dimension are lofts that I created with rails. These rails were made up of lines and curves, not polylines. How do I get the sketches for the rails I used for lofting to display in the drawing views so I can dimension those sketches.
View 9 Replies
View Related
Sep 18, 2013
I have a few assemblies setup that are controlled with a bunch of iLogic rules to modify all related parts when parameters are changed at the assembly level. I also have an opening message that pops up when the assembly model is opened (After Open Document trigger) to tell people how to use the parameters to make modifications.
Now, when this assembly model is placed into a drawing I am getting random pop ups of the opening message when placing views of additional models in the same drawing. If you open the drawing and try to place a base view of another model, Inventor stops to think for a minute or so before having the opening message of the iLogic controlled model pop up. The only event trigger for this message is "After Open Document" and the model is not being opened; why it is being triggered in the drawing and/or how to make it stop?
View 4 Replies
View Related
Apr 24, 2012
Is there a way in an inventor drawing rule to do a "save as" which saves the drawing as an Inventor dwg file rather than an AutoCAD dwg file?
The below saves as AutoCAD which is ok but I need the outputted drawing to be linked to the model. I don't want the code to save the entire assembly as this is done further down the line. I also don't want to save the current inventor dwg drawing from which the rule is run as this is just a template drawing.
ThisDoc.Document.SaveAs(ThisDoc.Path&"2D_DRAWINGS"&iProperties.Value("Custom", "Drawing No.")&" (Rev "&Parameter("BEAUFORT_ARRANGEMENT_3.iam.DRAWING_REVISION_NO")&")"&".DWG", True)
View 1 Replies
View Related
Apr 19, 2013
have 2 questions
1.) If you look at the attached screenshot in the Edit Sheet form there is a sheet "Revision" input field is it possible to fill this out via iLogic?
2.) We have some custom E size sheets (height always 34in width varies 5ft, 6ft, and 8ft) when we select on of these sheet sizes that we created it will display "Custom Size (inch)" when using the sheet property <sheet size> in the title block not the name of that we gave these sheets (Which creatively enough is "E-5ft", "E-6ft", and "E-8ft"). I thought I had this solved by doing this:
Dim oSheetSize As String
oSheetSize = ActiveSheet.Size
If oSheetSize = "Custom" Then
iProperties.Value("Custom", "SheetSize") = "E"
Else iProperties.Value("Custom", "SheetSize") = oSheetSize
End If
then change the titleblock sheet size field from sheet property <sheet size> to custom drawing properties <SheetSize> this all works great if there is only 1 sheet in the IDW where it fails is if there is more then one sheet.
View 2 Replies
View Related
Jul 4, 2012
I recently start to use ilogic in inventor and discover this powerfull tool for all the daily task to be done...
I would like to add an autocad block in a drawing with some ilogic coding. Through this forum i found how to insert a sketched symbol but no how to insert a block. And convert my block into a sketch would be quite difficult...
where could i found a list of all the ilogic command??
Autodesk Product Design Suite Ultimate 2013
Win 7 Pro 64 bits SP1
Bi-Xeon E5520 (2x Quad-core @2.27GHz)
Quadro Fx 1800 768Mo GDDR3
6Go Ram DDR3 667MHz ECC
View 1 Replies
View Related
Jul 18, 2013
I have a rule setup for drawings. I need the rule to first determine if the there is a flat pattern view present. In other words, if there is no flat patter view, I want to the rule to stop.
I am very green to ilogic and VB. Running Inventor 2013.
View 2 Replies
View Related
Sep 17, 2013
Is there a way to add a revision row with I-logic?
Inventor 2013
View 2 Replies
View Related
Sep 6, 2013
I'm using Inventor 2013. I created an assembly where I did a lot of top down modeling (meaning components in the assembly were created in the assembly. All but a handful of the components are adaptive to other components). When I went to make my drawings for having the components made, I started noticing that some of the dimension values were wrong. I could go into the model and verify the features, but when dimensioning on the drawing it would not match. Furthermore, this didn't occur on every dimmension on the drawing. Not even half of them were incorrect, but it only takes one to really mess up a part.
I've attached a screen shot of what I'm seeing. The 15.2 and 5 dimmension are correct, but obviously those don't add up to 31.37. I know I can manually override this dimmension, but only if I know to do it. I tried to do a drawing of another part in the same assembly and eventually found a similar problem.
Finally, I created a step file of the 1st part (to strip away the adaptivity) and when I created the drawing again, the problem went away.
My question is, is there something I did in the assembly / creation process that would have caused this?
View 4 Replies
View Related
Jul 26, 2012
I'm trying to dimension an ellipse in the Inventor Drawing Feature. I've attached the .idw files. (the .ipt is too large)I am aware that the ellipse doesn't have a constant radius and was wondering what is accepted practice for these dimensions?
I need to first dimension the external elliptical shape (which I'm struggling at), might just add a note.
Secondly I'm trying to dimension the mesh part, its not centrally align to the part and since I can't put a center mark on I'm not sure how I should dimension this...
View 5 Replies
View Related
Apr 16, 2013
My question is to find the dimension in the drawing area
for example
If we observe in the drawing left hand site we can see alphabets in the border area and number at top border area
if the dimension lies between "A" on left hand side and "1" on top border srea
then i want a message the dimension lies on A1
View 1 Replies
View Related
Oct 24, 2013
dimension bend parts with corner intersection. Is there any option in Autodesk Invenor Drawing so that i can give dimensions as shown in attached image.
View 2 Replies
View Related
Sep 20, 2013
I have recently drawn a steel construction, and I am now in the process of making the drawings. A problem that occurs is the length of beams used for bracing. When I click the two outer points, the lower dimension in the drawing appears. This is the length of the line between the two points. To be able to dimension properly, I have made a sketch with a straight line, which is perpendicular to one side of the beam. This has been used, with the point on the opposite side, to find the true beam length (and is showed as the upper of the two dimensions in the picture).
View 5 Replies
View Related
Oct 31, 2012
I want to ask how to make the size for the angle in the distance between holes. i use the autodesk inventor 2013, I attach an example like this.
View 9 Replies
View Related
Oct 19, 2012
I was trying to reposition a retrieved dimension in drawing. I was able to position the text, however the dimension line however still stays in its default retrieved position. how I can reposition the dimension line as well?
Dim mydim As Inventor.ObjectCollection
Dim invDimConstraints As DimensionConstraints
Dim invDimConstraint As DimensionConstraint
invDimConstraints = invPartDef.Sketches.Item("MySketch").DimensionConstraints
[Code] ........
View 1 Replies
View Related
Jul 11, 2013
Is it possible to rotate a drawing view using iLogic?
View 2 Replies
View Related
Apr 18, 2013
I'm trying to put together some iLogic code to either check all the drawing views within a drawing sheet are all the same scale, or make the views all the same scale. These drawing sheets consist of a number of individual parts (they aren't projected views from a single part).
This is for welded assemblies. We are required to generate a profile drawing sheet outlining each part that makes up the assembly. We send these out as dwg files for laser cutting so its important that the views are all the same scale.
View 7 Replies
View Related
Jan 8, 2014
I'm wondering if it is possible to check-in drawing into vault using i-logic?
If you check-in a drawing into our vault, it automaticly exports a .dwf to a storage server. We also have a simple button for making .pdf of the drawing to sent to the customer.
What i want to ensure is that the .dwf file and the .pdf file are the same. So when i press "make a .pdf" the rule will save my document, make a .pdf and (if possible) check it into vault. So from that point the .pdf for the client and the .dwf on the server are the same.
Inventor 2013
View 2 Replies
View Related
Oct 8, 2013
I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,
currently m using this method.
What is the solution for updating drawing template (like Model Description, Drawing no.).
View 3 Replies
View Related
Nov 27, 2012
I need to connect the ribs on the drawing. Here are some images to transactions automatically.
ILogic code must perform all operations possible, and impossible to ignore cases.
View 1 Replies
View Related
May 4, 2012
If I draw a flat square, and then a flat circle next to it, can I do things using iLogic that will make the two seperate parts interact? such as say 'if the circle contacts the square, then make the square become a circle too' or something like that?
View 3 Replies
View Related
Jul 23, 2012
I am looking to use iLogic to create feature suppression in individual drawing views, i.e for simplicity, in view 1 part has a hole in view 2 part does not have a hole it has been suppressed
I am aware this can be done with iParts but im trying to avoid using iparts.
View 1 Replies
View Related
Aug 6, 2013
Is there a way in iLogic to iterate through all curves on a drawing. We manually apply radii labels to each drawing view but would like to automate the process with iLogic. How could I reference and cycle through all the radii on my drawing view?
View 2 Replies
View Related
Apr 10, 2013
I want to be able to change the header on a PL in a drawing using iLogic.
I'm able to "find" the PL(s) on a drawing but can't seem to figure out how to access the header property My goal to to change the header to show the P/N of the assembly/part it's created from.
My Current code is below:
doc=ThisDrawing.Document
oBOMs=doc.DrawingBOMs
For Each oBOM In oBOMs
MessageBox.Show("Found a PL", "Title")
Next oBom
In between the for/next loop is where I want to access the current BOM and change it's header depending on the related .iam/.ipt.
View 2 Replies
View Related
Jun 7, 2012
Any way, using iLogic, to get the K-Factor from a flat pattern sheet metal view on an idw drawing and add it as a note.
I'd like a rule that would access the flat pattern on the drawing, get the K-Factor value and then create a note that says, for example, "K-Factor Value = 44".
I see in the iLogic Snippets there's a Get Active KFactor under the Sheet Metal section, but I don't know where to start.
View 2 Replies
View Related