AutoCAD Inventor :: Block Attribute In Part Sketch Block

Feb 28, 2012

Is it possible to create a text block attribute in part sketch mode?

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Error In RSe Clone Commander On Derive From Part With Sketch Block

Nov 19, 2012

I have a surface model of a bin that I am going to use as a master for deriving sheet metal parts for each side of the bin. After creating Sketch 9, which defines the mating flanges of the sheets, I repeatedly get the error noted in the subject when I try creating a derived part from this file.

I narrowed the problem down to the sketch block I used to define the square holes or more specifically a dimension that appears in this sketch block. I originally drew the circle with the square around it within Sketch 9 and then used the Create Block command. Then I patterned the block along the edges and made the pattern symmetric about the mid point of the edge and placed the hole half way out on the flange. (Flange width is set as a user parameter "FlangeWidth"(1.5") and distance to hole is "FlangeWidth/2" or even just a raw value of 0.75").

Now once this dimension is added to the sketch it will also appear in the block editor for the 5-16 Carriage Square block. If this is deleted from the sketch and the block definition and the pattern of holes are left unconstrained in this one direction a derived part can be successfully made. BUT if a dimension is added to the sketch it will trickle down to the block definition and now a derived part will fail...

I realized that my holes are to be on the midline of the flange so I can constrain them there without a dimension and so I can work around this. I just didn't think dimensions to geometry not included in a block were added to the block definition.

Inventor 2013 x64 sp1.1
Workstation Specs:
Dell T7500 Dual Xeon E5620 @2.40Ghz 8GB Ram
NVIDIA Quadro FX580 4GB, Windows 7 x64 sp1

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Check Block Attribute Then Change Different Attribute In Block

Aug 31, 2012

select all blocks on certain layers in a drawing, check attribute CIRCUIT in each block if it starts with MS then attribute CONTROL = switched. I hope thats clear enough the way

(defun c:control()
(graphscr)
(Setq sc (ssget "X" '((0 . "INSERT")

[Code].....

View 1 Replies View Related

AutoCAD 2010 :: Inserting New Block And Entering Attribute Data By Selecting Another Block?

Aug 13, 2012

Is it possible, via whatever methods (lisp?) to be able to have a premade block with an attribute and insert it into a drawing then assign a value to it by selecting another existing block in the drawing and using one of its own attribute’s values?

For example, say I have a block representing a telephone and it had an attribute called "PhoneNo" and I inserted it into a drawing showing an office floor plan that had blocks in each office space that are telephone junction boxes with attributes "PhoneExtension".  I would like to be able to autocomplete the entering of the “PhoneNo” data by selecting one of the telephone junction boxes in the drawing and using its attribute’s value.

View 5 Replies View Related

AutoCad :: Attribute In Title Block Exists In Block Editor But Not In Project

Sep 6, 2012

Autocad 2011, Electrical package,

I have an existing title block a few text attributes, to which I wish to add a watermark. I have added it in the block editor as a normal attribute, with the same details as the other attributes that work, only a different tag name. It has a default value, "DRAFT" and is tagged "WMARK". It works fine in the Block Editor, and If I test the block I can edit it to display whatever I want, but if I save the block and open it from Autocad proper, the attribute is not in existence, either as a default value, or editable from block properties, attribute editor or title block editor, whereas all of the other attributes are there. I have used BattMan to verify the settings of the attribute, and the only difference is that the others all have "L" in the "Modes" column, but I think that means that their position is "locked" whereas my new attribute is justified "aligned" therefore cannot be "locked" (This is some assumption on my part, as the documentation on the "Modes" column is almost non-existent). I cannot afford to waste much more time on this issue, as the boss is breathing down my neck, but editing watermarks on every drawing after every revision is frustrating, when it could be an attribute that is editable from the title block editor.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Match Multiple Attribute Values From One Block To Another Block

Feb 12, 2012

I need to match few attribute values from one block to different block. I download a lisp file called; ca.lsp which can match the single attribute value. I modified it for more than one attribute value matching. It is ok but still wish to overcome two issues for batch prcess

1. picking up the blocks by selection

2. click the alternative block numbers of times to match the numbers of attribute values I needed.

How to modify this lisp I can run it by block name selections instead of picking selection which enable me to run batch process for numbers of drawing? That will be good...

Lisp & Demo file attached (Match attribute value, A, B & C to Attribute 1, 2 & 3).

View 3 Replies View Related

AutoCAD Civil 3D :: Transferring One Block Text Attribute To Another Block?

Nov 8, 2013

Is there a way that I can create a block with text ('A') and when I insert the block and populate the block another block block will update also? I am wanting to create a block for x-sec flags, and detail callouts that update their detail titles.

AutoCAD Civil 3D 2012 SP4
Windows 7 (64)

View 6 Replies View Related

AutoCAD 2013 :: Importing Attribute Data From A Block Into Another Block?

May 30, 2013

I have 2 drawings with the following content :

Drawing 1 : Contains tree blocks that have a specific scale dependant on the tree size

Drawing 2 : Contains a block with just a point and attribute data about the tree (name, size etc.)

This block is approximatly at the same location as the tree block (0,1 m precision)

Problem I want to join these two items together. In other words, in the tree block that is scaled correctly i want the attribute data with the name, size etc. These blocks don't have a corresponding unique number or something like that.

View 2 Replies View Related

AutoCad :: Creating A Block With Block Attribute?

Jun 10, 2013

I'm creating a block with a block attribute.

In the blockeditor I can change the draworder so the attribute is partly under some lines. But the draworder in the blockeditor of the attribute doesn't work in the normal modelspace; the blockattribute is allways on top.

View 9 Replies View Related

AutoCad :: Objects Not Part Of Block When Moved While Editing Block In-place?

Feb 3, 2012

When editing block in-place, not onely objects in the block, but also other objects (just drawn normal in modelspace), is affected by the commands.

View 6 Replies View Related

AutoCAD Inventor :: Unable To Derive A Part Containing Only A Block Into A Sheet Metal Part

Nov 15, 2011

I set up our company log which gets embossed on most parts as a sketch block in an .ipt.  The .ipt contains nothing but the sketch block.  To use it, the designer only needs to derive the Logo.ipt file into their part and then use the scale setting to set the derived block to the desired size for that part.  The result is a scalable set of line geometry that can easily be used for extrusion or emboss that is standard for all users.  It works beautifully, that is until you try to use it in a sheet metal part in 2012.

For some reason, when this same part, which works perfectly in normal parts, is derived into a sheet metal part an error pops up stating that, "Selected part does not have any geometry that can be derived."  Say what?

I was able to find a workaround by directly copying the block into the sheet metal part, but you no longer have the ability to go back and scale it if needed.  Even more strange, when the block was copied over, it could not be deleted from the new part.

Is this just a bug with 2012?  Why does it work in a normal part but not sheet metal?

View 7 Replies View Related

AutoCAD Inventor :: Set Revision Block To Be Able To Edit Attribute?

Jul 24, 2012

How can (or can I), set a revision block to be able to edit the attribute when I save an Inventor DWG as an AutoCad DWG.  ex.  we create drawings in Inventor, save as dwg and send for approval.  Our manager is unable to edit the attribute in the revision block without exploding it.

View 9 Replies View Related

AutoCAD Inventor :: VBA Creating Path From Derived Sketch Block

May 21, 2013

I've got a problem with creating Path in Inventor VBA. I've created a source block definition in SourcePart.ipt, derived it in DestPart.ipt, placed this derived SketchBlockDefinition in Sketch3 and draw 3 extra lines. Now i want to add a SplitFeature with SplitTool as a Path of 3 lines, but first i need to create this Path. There is no problem with creating path from this 3 extra lines, but when i want to create path from lines that belongs to derived block - an error occurs. 

Below is sample code (also included in attached file - DestPart.ipt). Try run it with DestPart.ipt as an active file. When Inventor is prompting for Selecting Sketch Entity first select one of 3 extra lines, macro ends with no errors. Then run it again, this time select one of 3 lines that belongs to SketchBlock - an error occurs.

When you try to add SplitFeature (Trim Solid) by UserInterface Button "Split" there is no problem with any set of 3 lines.
 
Sub CreatePathTest() Dim oPartDoc As Inventor.PartDocument Set oPartDoc = ThisApplication.ActiveDocument Dim oPickedSketchEntity As Inventor.SketchEntity Set oPickedSketchEntity = ThisApplication.CommandManager.Pick(kSketchCurveFilter, "Select Sketch Entity") Dim oNewPath As Inventor.Path Set oNewPath = oPartDoc.ComponentDefinition.Features.CreatePath(oPickedSketchEntity)End Sub
My System is Windows 7 32bit/64bit, Inventor 2012 

View 1 Replies View Related

AutoCAD Inventor :: Create Macro To Get Constraint Rec Block In Sketch

Jan 16, 2013

I am using inv2011. I have to create rec. blocks very often and in inv2011 . I have to constraint it in middle.

Can i write a Macto that gives me constraint rec block in sketch. This feature already available in Inv12.

View 5 Replies View Related

AutoCAD Inventor :: Export - Title Block Attribute Tags Renamed

Sep 2, 2008

I have an Inventor 2009 idw template that I have setup for export to AutoCAD. Once it's in AutoCAD format I have to run a script file from my customer that checked attributed fields in certain blocks in the AutoCAD file. In IV2008 the title block names were changed on export to adding "title blocks" to the beginning. Which I delt with. But now in IV2009 all the TAG names in each block are also renamed on export to adding "_001" to the end of each TAG name. Is there any way to keep the same naming on export to AutoCAD for blocks and sketch symbols so I don't have a write a bunch of script files for the AutoCAD file?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Transfer Attribute Block Values To Another Attribute Blocks

Jul 3, 2012

I wanna transfer my attribute block values to another attribute text blocks , is there any lisp for that?

Is there a possibility for sum tag values of choice attribute blocks to inside of another attribute text block ?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code To Turn Sketch Block Visibility On And Off

Jul 28, 2013

I've managed to cobble this code together to turn some sketch visibilities on and off. However, what I'd really like to do is have a single sketch containing some blocks, and turn the visibility of the blocks on and off... How to call the blocks -

'Iterate through the sketches collection'Turn the edging indicators On And Off
For Each oSketch In oDoc.ComponentDefinition.Sketches Select Case
oSketch.NameCase "Front Edged"If E01 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Top Edged"If E02 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Back Edged"If E03 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Base Edged"If E04 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfEnd SelectNext

View 2 Replies View Related

AutoCAD 2010 :: Change An Attribute From A Value From Another Attribute In The Same Block

Oct 5, 2012

What I really want to do is on our fire alarm blocks we have 3 different attributes one for the address, the candela and one for misc info. I want to make an attribute that takes the number from the candela (15,30,75or 110) and change a different attribute to a value depending on which candela we use (such as 15=.078, 30=.113, 75=.195 or 110=.259). But I don't want the .078,.113,.195,.259 to print out on paper, I want to export block information excel file so I can add up all values.

View 2 Replies View Related

AutoCAD Inventor :: Assign Sketch Symbols / Title Block To Defined Layer

Apr 1, 2013

I have a need to send files saved from Inventor.dwg to AutoCAD.dwg to suppliers, however due to the quantity of files "size", I need to purge them in Autocad before I e-mail. The problem I have is that my template Inventor.dwg is 1 mg due to Sketch Symbols, plus added file size for the views etc. When I get to Autocad to purge them, my Sketch Symbols and Title Block is on the "0" Layer. I have to select everything that is on the "0" Layer and change the layer to a different layer to start a LISP routine that does a, Erase All, Purge All, to get my file size down. I have not found a way to change the layer that Sketch Symbols are created on or reside on by default or Title Block either.

Any way to do this Inside the Sketch Symbols, inside the Title Block, using the styles, anything?

I am just now going through a iLogic course and read that Layers can be hidden. Can iLogic be used to change the layer of "SketchSymbols" or "TitleBlocks" and or used to purge all Sketch Symbols during the SaveAs to Autocad.dwg process?

View 3 Replies View Related

AutoCAD Inventor :: Derived Part With Block Crash?

Jun 26, 2012

Create part 'A'  with a sketch containing a block e.g. the block might be a circle.

Derive part 'A' into part 'B'.

Create a feature in part 'B' using the derived circle e.g. an extrusion.

Delete block from part 'A'.

Open part 'B' & update.

View 1 Replies View Related

AutoCAD Inventor :: Prevent / Block Obsolete Part From Being Used Without Deleting It

Mar 7, 2012

We are using basic Vault and have some parts that are obsolete or duplicates.  We don't currently have the resources to completely replace/purge them in all the assemblies (many of which are old desgns that may never be built again) in which they are used.  

Our problem is that engineers keep using these parts in new assemblies and it doesn't get caught until the assemblies are ready to be ordered.  Then the assemblies have to be updated, vendors contacted, etc. to correct the situation.

Is there a way to block a part from being used in the first place without deleting it?  Or some way to alert the engineer that they are using the wrong part?

View 1 Replies View Related

AutoCAD Inventor :: Switching Title Block Without Affecting Part And Dimensions Within Drawing

Jan 10, 2012

Is there an easy way to switch a title block after a drawing has been made and without affection the part and dimensions within the drawing?

View 2 Replies View Related

AutoCAD Inventor :: Matching Title Block In Part Drawings To Assembly Drawing?

Dec 5, 2013

I do a lot of work where I start with a full assembly drawing, then make more drawings for the individual parts. Is there a way to link the title block parameters in the part drawings to the title block in the full assembly drawing? The only way I found was to link the parts together and then grab the info for the drawings off of the parts, but if I'm implementing this in a template used by others I want them to still be able to just fill in the blank on the assembly drawing to make it work.

I was able to get iProperties to show parameter buttons, but I haven't seen any way to link to other files or anything like that.

View 9 Replies View Related

AutoCAD .NET :: Get Attribute From A Block

Feb 2, 2012

I need to open a drawing and read the block attributes and find a block with name "ABC" and attribute named "Text" in "ABC" block. for which i am using the below code which is working perfectly.

Try AcadApp = GetObject(, "AutoCAD.Application") Catch ex As Exception AcadApp = CreateObject("AutoCAD.Application") End Try AcadApp.Visible = True Try AcadDoc = AcadApp.Documents.Open(DWGName, True) RichTextBox1.AppendText(" - Opened File Successfully" & vbCrLf) Me.Refresh() Catch ex As Exception RichTextBox1.AppendText(" - Can not Open this Drawing" & vbCrLf) Me.Refresh() Exit Function End Try Dim Obj As Object For Each Obj In AcadDoc.ModelSpace If Obj.ObjectName = "AcDbBlockReference" Then RibbonLabel1.Text = "Find Block: " & Obj.Name Me.Refresh() ' Check for attributes. If Obj.HasAttributes Then Dim AttList As Object Me.Refresh() If Obj.Name.ToString.ToLower = "abc" Then ' Build a list of attributes for the current block. AttList = Obj.GetAttributes ' Cycle throught the list of attributes. For _i = LBound(AttList) To UBound(AttList) ' Check for the correct attribute tag. If AttList(_i).TagString = "Text" Then return AttList(_i).TextString.ToString End If Me.Refresh() End If Next End If End If End If Next Obj

 But i want to know whether is there any way to get the block named "ABC" directly without looping through all the objects.

View 2 Replies View Related

AutoCAD Inventor :: Copy Part Sketch Into Drawing Sketch

Sep 20, 2012

How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?

I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations.  Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.

I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist.  I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.

I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way.  I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option.  I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.

View 4 Replies View Related

AutoCAD Map 3D :: Block Content Many Attribute?

Feb 21, 2012

I have a block content many attribute.  When I'm create the block whit this many attribute, the order of this attribute is not properly.  I know autocad have a command to class this many attribute in order but i search it and i don't know where is it.

View 1 Replies View Related

AutoCAD .NET :: Attribute Collection From A Non-placed Block

Apr 19, 2011

I need to get the Attribute Collection of a named block which is not been placed in the drawing, but it does exist

Dim paaltype As String
Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument
Dim acCurDb As Database = acDoc.Database
Dim acDocEd As Editor = acDoc.Editor

Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()
paaltype = "paal01"
Dim acBlkTbl As BlockTable
acBlkTbl = acTrans.GetObject(acCurDb.BlockTableId, OpenMode.ForRead)
If acBlkTbl.Has(paaltype) Then
‘block exist, how to get the attributecollection
End If
acTrans.Dispose()
End Using

View 2 Replies View Related

AutoCAD .NET :: Attribute To Move To Block Without Old ATT?

Sep 10, 2012

How can I add an attribute to a block without the other attributes to move from their position. With the ATTSYNC belongs unfortunately not because the old attributes moved back to the original places that I will not.

View 9 Replies View Related

AutoCAD .NET :: Append Attribute To Block

May 9, 2011

I wan't to append a new attribute to a new block. But I get an error that there is no database. The loaded file has no attributes

Dim mDialog As New frmPaalDefinitie()
For Each item In lvPalen.Items
mDialog.tsPaal.Items(item.imageindex).enabled = False
Next
mDialog.ShowDialog()
If mDialog.DialogResult <> Windows.Forms.DialogResult.OK Then Exit Sub

[Code] ........

View 4 Replies View Related

AutoCAD .NET :: Get Specified Attribute From Block Without Loop

Aug 9, 2012

I know how to get/set attribute within loop at block's AttributeCollection.But I'm wonder if I can set value for specified attribute without loop. Or I always have to iterate on each attribute in block's AttributeCollection?

View 9 Replies View Related

AutoCAD .NET :: Change Block Attribute

Apr 20, 2011

How to access the BTR, read and write BRef, attDef, AttRef etc. But this has me stumped. There are a few different examples  but can’t find anything that works and don't know why.

I have inserted a block in modelspace, I have the BlockRefID and now want to change its attribute values. This finds the attributes tags but doesn’t write the sValue. Why it isn’t writing the value to the block.

Public Sub ChangeAttributeValue(ByVal BlockRefID As ObjectId, ByVal sTagName As String, ByVal sValue As String)

Dim doc As Document = Application.DocumentManager.MdiActiveDocument
Dim db As Database = doc.Database
Dim tr As Transaction = db.TransactionManager.StartTransaction()
Dim br As BlockReference = DirectCast(tr.GetObject(BlockRefID, OpenMode.ForWrite), BlockReference)
[code]........       

View 7 Replies View Related







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