AutoCAD .NET :: Adding Item To Transaction

Jun 17, 2011

I am walking through someone else code in order to make sure I understand some principles (inserting blocks via a jig) and I cam upon a couple of lines that I do not understand:
 
space.AppendEntity(br)tr.AddnewlyCreatedDBObject(br, True)

space is the blocktablerecord for the current space and tr is the active transaction.

Here is what I don't get:  If I append the entity to the space in the blocktablerecord inside of the transaction why do I also need to add this newly created object to the transaction with the AddnewlyCreatedDBObject method as well? 

View 4 Replies


ADVERTISEMENT

AutoCAD Inventor :: Cannot Coalesce Given Transaction With Previous Identified Transaction

Jul 23, 2007

I get the following message when I try to update a view on a drawing. Cannot coalesce given transaction with a previous identified transaction. Some times it shows up other times everything works out perfectly fine.

View 7 Replies View Related

AutoCAD .NET :: Commit Transaction Within Transaction

Aug 15, 2012

Transactions -- Can you commit a Transaction within a Transaction without any problems? I have one transaction that cycles through all objects in drawing..

I have another transaction that purges all purgable objects. Can I call the Purge Function if I've already started a transaction? What's the proper protocol here?
 
'Purge Database Dim count As Integer = PurgeDatabase(DatabaseIn) Debug.Print("Number of Items Purged: " & count) 'Level 1 Start(Transaction/Drawing Database)----------------------------------------------- Using myTrans As Transaction = DatabaseIn.TransactionManager.StartTransaction 'Read Drawing Database
[Code] .........

View 1 Replies View Related

AutoCAD Inventor :: Adding An Item To IProperties To Fill In Titleblock

Jul 12, 2013

I have just managed to create my own title block and have an area within for material. I always use the iProperties to populate the titleblock but there isnt a field for material? Is there a way to add a field so it does what i need?

View 4 Replies View Related

Paint Shop Pro :: Adding Another Item In Palette Bar

Apr 23, 2013

At first install', the palette bar contains 2 items. If I want add one (History), it is impossible to be embed in this bar. If a palette is Anchor, it is automatically "un anchored" when I move it.

View 5 Replies View Related

AutoCAD .NET :: Add Text In Nested Transaction

Oct 9, 2013

Im trying to figure out what I can do differently in my code to have it show the newly placed text immediately after choosing an insertion point. Im guessing it has to do with a nested transaction and my loop, but Im not sure how to fix.

The code below is to label the layer of a selected entity. If in paperspace, label in paperspace and if in modelspace label in modelspace. Ive been testing this on the "blocks_and_tables_-_imperial.dwg"

Imports Autodesk.AutoCAD.RuntimeImports Autodesk.AutoCAD.ApplicationServices.ApplicationImports Autodesk.AutoCAD.DatabaseServicesImports Autodesk.AutoCAD.EditorInputImports Autodesk.AutoCAD.GeometryImports Autodesk.AutoCADImports Autodesk.AutoCAD.ApplicationServicesPublic Class Class2 Public Function myAnnotate(myDbIn As Database, mySpace As String, myTextContents As String, mySTPT As Point3d) As ObjectId
[code]........

View 3 Replies View Related

AutoCAD .NET :: Crash When Transaction Takes Too Long

Jul 24, 2012

i have got a problem with AutoCAD 2010 right now. Im having some procedures that take very long to process in between a Transaction Manager. Start Transaction and Commit/Abort.

When taking too long AutoCAD sometimes just disappears/crashes without giving a call stack/Exception or anything. There are also no memory leaks or exceptions raised, though i send some status messages to the command line of AutoCAD.

Does AutoCAD need anything like a KeepAlive? Do i have to send it some specific messages or anything? Is that a common problem?

View 6 Replies View Related

AutoCAD Inventor :: Attempting To End An Invalid Transaction

Oct 1, 2013

Coworker opened a drawing that he created yesterday. Upon opening he received the following error - "Attempting to end an invalid transaction. Id: 2008125432". He hit OK and the program resumed. It did not crash. There is no red plus in the menu bar.

Inventor 2013 SP2 update 1
Windows 7 64x SP1, 12GB RAM
NVIDIA Quadro FX 2000, driver 8.17.12.7642 (12/10/2011)

View 3 Replies View Related

AutoCAD .NET :: Batch Process And Transaction Not Declared?

Jul 2, 2013

I have a command to open some dwg files and print them. I´m using the Sub imprimePDF. When I did the code with (AutoCAD 2011 and VS 2008) , it runs ok but now it´s wrong.

This is the sub

Sub imprimePDF()
Dim myDWG As Autodesk.AutoCAD.ApplicationServices.Document
myDWG = Application.DocumentManager.MdiActiveDocument

[Code]....

When I´m debugging the code, last sentence produces an error: 'tr not declared'  and I don't know why.

View 4 Replies View Related

AutoCAD Inventor :: Work Feature Creation During Transaction

Sep 12, 2013

Has seen that even if a work plane, work axis or other work feature is created during a transaction, the screen will still update? The actual features I create using these work features within the same transaction still work just fine.

View 1 Replies View Related

AutoCAD .NET :: RotatedDimension TextPosition Changed After Transaction Commit

May 23, 2013

I'm having a problem with RotatedDimension. I'm initializing it with some values and after I commit the transaction the value of TextPosition is changed.

 using (var transaction = parentDoc.GetNewTransaction()) {var rotatedDimension = new RotatedDimension();// ... rotatedDimension.TextPosition = textPosition.ToArxPoint3d(); parentBtr.AppendEntity(rotatedDimension); transaction.AddNewlyCreatedDBObject(rotatedDimension, true); transaction.Commit(); } return rotatedDimension;

View 1 Replies View Related

AutoCAD .NET :: Roll Back Variable Within Undo Command Outside Of Transaction?

Mar 10, 2012

I need to be able to roll back my variables if user apply an UNDO. Let's say.

Myinteger =1
Startstransaction
........
trans commint
Myinteger=2 

Startstransaction
.......
trans commint
Myinteger=3

 if user does undo 2 times  the Variable  Myinteger  keep the value  3 . I want it back to 1. How?

View 6 Replies View Related

Revit :: Transaction Counter With Roll-down Shutter

Jan 27, 2012

When I am placing a roll-down shutter family in the same wall and same place as a transaction window family that is the same size gives me an error stating the family is not cutting anything and has to be deleted.  How do other people do this?

View 1 Replies View Related

Lightroom :: Button Is Missing When Use Transaction Brush

Jun 18, 2013

I had to reinstall my lightroom 5 and since then the before/after (Y/Y) icons are missing. Also the done button is missing when I go the use my transaction brush.

View 1 Replies View Related

AutoCAD Inventor :: BOM Item Number

Jan 11, 2012

In our company if we put a component in 5 different assemblies, we want that component to have the same item number no matter where it is in the parts list.   In addition we group components to have a special item number...  Meaning hardware like washer, bolts, and etc. to start with 500 series number..  Piping components would be 800 series...

Is there a way to do this in ILOGIC/VB?

View 2 Replies View Related

AutoCad :: Can Only Select One Item At A Time

Oct 25, 2006

When I select items to copy or move it does not let you select more than one item at a time.

View 9 Replies View Related

AutoCad 2D :: Changing Layer Of Item

Oct 26, 2011

I am currently using AutoCAD 2010. and I am having issues with where I am able to change the layer of an item. I have my panel tiles shown at the top of the screen which include the tile for layer options. I have in the past been able to select (let's say) a line and change what layer it is one. (example changing the property of the line from layer 0 to layer A-WALL-EXT).

Recently however I have not been able to perform this action through the layer options at the top of the screen, yet I seem to have to open the Properties Palette and perform the layer change there.

I included a screen shot showing the panel on the top which includes the layer options and the properties palette that I must now work from to make any changes.

View 5 Replies View Related

AutoCAD LT :: Rectangular Array Item Count?

Dec 13, 2013

I was working in AutoCAD LT and wanted to report on the number of items in a rectangular array, but cannot seem to find such a variable.  In the polar and path arrays there is an object count, but don't seem to be able to find the same field for the rect. array.  There must be some field for it, because when I shift over to standard AutoCAD I can get the information from the Data Extraction tool. 

I am using AutoCAD LT 2013...

View 5 Replies View Related

AutoCAD Inventor :: Balloon To Sketch Item?

Jun 16, 2011

I created a hatched sketch on one of my views to represent filler material.  I want to balloon to this hatched area, but it want grab it.  I have the filler material setup as a custom part.  I can also create a sketched symbol for this, but it doesn't appear that they would accept it either.

I am currently running Inventor 2010 Build 272, Release: 2010-sp3

View 2 Replies View Related

AutoCAD Civil 3D :: Getting Pay Item Into Label Styles

Oct 1, 2012

Is there anyway of getting assigned Pay Items int a label style? I tried adding a text component but there is never an option for payitems.

Civil 3D 2012 & 2013
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram
64 Bit Win7 OS

View 2 Replies View Related

AutoCAD Inventor :: Placing Item From Vault?

Mar 7, 2012

the "place item from vault" icon is grayed out and not available for selection.  how do a place a stock part located in the vault, into an assembly i am currently working on?

View 2 Replies View Related

AutoCAD Inventor :: Remove Item From BOM But Not Assembly

Feb 13, 2013

I have a drawing in which I need to keep a part in the assembly but I don't want to display it on the BoM. Is there any way I can remove it from the BoM without removing it from the assembly and drawing?

View 3 Replies View Related

AutoCAD Inventor :: Item Numbers Missing From BOM

Oct 15, 2013

There a few dodgy things goign on with my BOM. 

I imported a BOM style from another drawing that worked fine, but when I edited the names of teh columns it broke everything again. 

THere's a few thigns wrong. 

There's no item numbers. 

It says the QTY is incompatible units????

And there's teh funny table like icon with an arrow pointing to it with my parts highlighted blue. What does this mean?

Again, everything was fine until I changed the names of the columns and changing the naems back doens't fix it. 

View 3 Replies View Related

AutoCAD Civil 3D :: Deleting Pay Item Quantities

Mar 30, 2012

We are just starting to use the pay items through QTO Manager & Takeoff.  Everything was working fine until...I deleted a hatched area that represented a Butt Joint quantitiy.  Now when I go into Compute Quatity Takeoff & select the Compute button, this quantity that was deleted is still there.  And, since it is now deleted, I can't find a way to remove it from the Butt Joint quantity.  I've tried using "Removes pay item from specific objects."  I've tried deleting all my quantities and starting from scratch. 

View 2 Replies View Related

AutoCAD Civil 3D :: Creating Pay Item List

May 13, 2013

I am having trouble understanding "Exercise 7: Creating a pay item list". How to find video of how this is created, or information to better understand the .csv and .xml utilized by QTO better. I am new to editing any .xml codes.

View 2 Replies View Related

AutoCAD Inventor :: How To Change Item Number

Feb 21, 2011

When create assembly, i placed 3 parts in order: A.ipt, B.ipt, C.ipt

And ofcourse the item number will be:

A is 1

B is 2

C is 3

this number will be the same in: item colum (in BOM table), ballon (in 2D drawing).

The problem is: i want to change this number,

A will be 2

B will be 1

C will be 3   when i ballon the part in 2D

I've used "renumber" in BOM, but it just change value in "item" colum (in BOM table), not change in "ballon" (in 2D drawing).

View 3 Replies View Related

AutoCAD Inventor :: Constraining Item Twice To A Base

Mar 13, 2012

is it possible to constrain an item twice to a base, because a task i'm doing requires a tank to be constrained to 2 completely different parts. What i've got so far is one end will go through the whole way.

View 2 Replies View Related

AutoCad 2D :: Copy Non-block Item From One Drawing To Another

Mar 21, 2012

How do you copy a non-block item from one drawing to another drawing. With both drawings open, the two methods I've used are the Edit>Copy in drawing 1 and Edit>Paste in drawing or Right mouse button (drop down menu)> Copy in drawing 1 and Right mouse button> Paste in drawing 2. Sometimes one or both methods work and at other times neither works.

Is there another copy method or am I doing something incorrectly?

View 3 Replies View Related

AutoCad 3D :: Unable To Revolve Selected Item?

Dec 14, 2013

revolving a 2d polyline into a 3d solid. Every time I apply the revolve command and select the 2d polyline and pick my axis points (start and end) it states that "unable to revolve selected object". I have no problem if I want to extrude the same object but have no response with the revolve command except that statement, "unable to revolve selected object"

View 9 Replies View Related

AutoCAD Inventor :: How To Get BOM Of Item Leader Is Attached To

Nov 4, 2013

I have a sketchedsymbol with leaderline.  How can I get the BOM of the item this is attached to?  I don't see any referenced way to do this.  I assume it's possible because a balloon can get this info.

The full extent of what I want to do is to create a split balloon symbol.  The top portion of the balloon with hold the detail number, the botton half will hold a user prompted text entry.

Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1

View 8 Replies View Related

AutoCAD Inventor :: Assembling Spring To Item

Nov 25, 2013

I cant seem to find out how to assemble the spring to the rest of my item.

Will you be able to use the assembly if I do not provide the parts used(maximum 3 uploads)?

View 3 Replies View Related







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