AutoCAD .NET :: Can't Pick Updated Block

Sep 30, 2011

I have programmatically created a block, which resembles the protective tube schematically drawn. The block consists of two ellipses of connected the two lines. This block tries to modify (also programmable). The modification consists of changing the position of the ellipse and the length of the line. Everything (almost) goes smoothly, until the pipe extends beyond its original length. The changes are visible, but I'm not able to pick the block beyond its original contour. So I can pick out such lines, if picked point is on the original length, but beyond its original length is not already. The same applies to the ellipse. The situation returned to normal, if I tried stretch the block (base point) or command _move. Regeneration of the model does not work.

I throw a piece of 

using( Transaction tr = doc.TransactionManager.StartTransaction() ){//Block?Entity ent = tr.GetObject( per.ObjectId, OpenMode.ForRead ) as Entity;(...)BlockReference blRef = ent as BlockReference;(...)Ellipse ell1 = null;Ellipse ell2 = null;Line line1 = null;Line line2 = null;BlockTableRecord btr = tr.GetObject( blRef.BlockTableRecord, OpenMode.ForRead ) as BlockTableRecord;foreach( ObjectId entId in btr )
[Code] .........

View 1 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Insert Block With Pick Point On Line Prompt?

May 8, 2013

I have a lisp routine that I would like to add to. Right now when running the macro the user is not prompted to "Pick Point On Line" in this example

(command "insert" blk "s" var1 pause pause))

I have added the line

(setq pt1 (entsel "Pick Point On Line "))
(command "insert" blk pt1 "s" var1 pause pause))

but the command doesn't seem to like my PT1 value

BLK and VAR1 are set in another lisp routine.

View 9 Replies View Related

AutoCad :: Add Selection Boxes Or Pick Boxes To Block?

Jun 10, 2011

Can add selection boxes or pick boxes to a block?

Here's the situation. I have a block that will be inserted showing a piece of angle iron that is used for a stiffener. We have various sizes that will need to be used. Instead of typing in the angle size each time it's inserted can I have a list of all the angle sizes and then a pick box or radial dial or something to be selected and that is what is put in the block?

View 2 Replies View Related

AutoCAD .NET :: Layer Manager Not Updated?

Jul 17, 2012

What would cause a layer manager to NOT be updated after code has been run to freeze or thaw layers in a viewport?  After I run my program, the viewports will show the layers I want thawed and will hide the layers I want frozen, but when you look at the layer manager, it would show all layers are on and thawed. 

If you save the drawing, close it and re-open it, the layer manager now seems fine and matches the viewports as to what is thawed and what is frozen.

View 4 Replies View Related

AutoCAD LT :: XREF Adjustments Not Always Updated

Oct 17, 2012

Why is it that a change to geometry in the xref'd drawing will update immediately but a layer properties change will not.

I've tried re-loading via the external reference dialogue and even closing the main drawing and re-opening, all to no avail. Only detaching the xref'd drawing and re-loading it from scratch seems to completely update everything.

It isn't always convenient to edit the xref in-place, so I usually open the xref separately and apply the edits there, but as mentioned above, even though I get the balloon notification informing me of the xref changes, nothing seems to happen.

Like I said, this only appears to happen when I change layer properties, and so far I feel convinced that it's either a setting or me missing some hugely fundamental procedure.

View 1 Replies View Related

AutoCAD Inventor :: Parts Not Updated In Assembly

Sep 22, 2011

On a different station, a component was checked oud, altered (100mm became 110mm), the corresponding dwg was also checked out and updated, and then everything was checked in.

Now i have an assembly that contains the part that was modified, but i still have the old version of it stored locally, as well as the assembly containing the part. Now when i open the assembly, i get the message stating some components had changed and that the assembly should be updated. After selecting YES to update the assembly, i get it on screen, but the part itself had not been updated. The vault tree now does show that i don't have the latest version though (red filled circle). In order to get the part to appear correctly, i need to manually select "refresh from vault" to get the correct version.

After selecting the YES i want to update the assembly I expect the parts to be updated properly without requiring additional manual actions. This has already resulted in out-of-date drawings to hit the production floor. Obviously, THIS SHOULD NOT HAPPEN!

I know one way to overcome this issue would be to delete the local source files after having used them, but i have lost plenty of work by allowing that setting to be enabled. (IV crash during check-in resulted in deletion or corruption of the files and they were not properly checked in.)

Should i log this issue or is there a solution available i failed to find?

View 1 Replies View Related

AutoCAD 2010 :: Windows Updated And It Won't Open

Aug 27, 2012

I have operated AutoCAD2011 for at least a couple years with no issues.  last week i received a few automatic updates from Windows, and now AutoCAD won't open.  what can i do?

View 1 Replies View Related

AutoCAD Civil 3D :: Updated Bridge Module

Jul 9, 2013

We recently learned that the AutoCAD Civil 3D R2014 Bridge Module has a license check that results in the utility no longer working after July 1, 2013. This appears to be an installation artifact from when this was an Autodesk Labs project. 

A replacement version is available for Infrastructure Design Suite – Premium/Ultimate subscribers on subscription center. Note that you’ll need to uninstall the original version before installing the updated build. There are no changes to the core utility itself - just the license date verification.

View 9 Replies View Related

AutoCad 2D :: Cannot Pick Some Lines On In World UCS

Aug 8, 2013

I have a file that is behaving very oddly. Its a detail that I cannot pick some lines on in world UCS, but in Isometric views will pick ok, and to make matters worse, when I do a regen the lines in question vanish.

File attached, refer to AS DRAWN MKGP2, top left of drg sheet 324125_JJ_005_A.dwg

View 9 Replies View Related

AutoCad :: Crosshairs And Pick Pox Have Disappeared

Jan 4, 2012

I was drafting away, and all of a sudden my crosshairs and pickbox disappeared. Once I move the mouse there's nothing in my drawing plane. I can type commands, and when I move the mouse up to the menu area I can pull down menus. I've opened up other drawings and the crosshairs and pick box are there.

What can I do to resolve this? Of course it happens during a deadline.

Using Autocad version 2009, windows 2007, Professional

View 6 Replies View Related

AutoCAD Map 3D :: Osnap Pick Prioritizing

Mar 16, 2012

In selecting a point in a drawing to connect new poly lines to existing objects, is there a way to set the order to which osnap elements are used?I have perhaps 1/2 of the osnap element settings activated. End point, Mid point, Node, Intersection, etc.

When I go to select, it's like everything EXCEPT End Point is recognizing. And while I can go to right click, and select end point, I am now wondering, if besides the rt click, there is a way to preset the priority, or order in which the osnap elements recognize the type.Without resetting the settings each time.

View 9 Replies View Related

AutoCAD Civil 3D :: Updated XRef File Paths?

Mar 7, 2012

We recently updated our servers and with that the path to all of our drawings. For example what was once located at W:FilesAutoCAD is now located at W:CorporateAutoCADDrawings. The problem is every time we open an old drawing for the first time we must redirect all of the xrefs to the new location. My question is, is there any way to do this automatically for all drawings when they are opened? Is there a way to tell the software to replace "FilesAutoCAD " with "CorporateAutoCADDrawings"? I'm sure others have encountered this dilemma.

View 9 Replies View Related

AutoCAD Inventor :: Updated Styles But Won't Recalculate Mass

Jan 5, 2012

I've updated my graphite density in styles from 2150 to 1700 kg/m3 and done an update child parts in an assembly to cascade the new density to all my graphite blocks. All the iProperties for the parts are showing the new density but the assembly iProperties is showing a density of 2036. I've tried Rebuild All, Update Mass, and closing and reopening Inventor but the Update button in the Physical tab stays grayed out. I have iParts in my assembly but the new density has cascaded through them ok.

View 6 Replies View Related

AutoCad :: Batch Printed Into PDF - DRG Sheets Can Be Updated Automatically

Jan 24, 2013

I have a batch of 25 drgs that need their revision letter updated then pdf'ed. Is there a method that can be adopted, where the drg sheets can be updated automatically, then batch printed into pdf's, without having to open the individual files?

View 5 Replies View Related

AutoCAD Civil 3D :: Updated Data Shortcut Source DWG Not Updating

Feb 14, 2013

I am having an issue with alignments not updating to the latest source drawing.  Initially, the alignment source drawing was in File1.dwg.  Due to a design change, a few of the alignments were revised in a new File2.dwg.  For the first time ever, I used the Data Shortcuts Editor program to repoint the data shortcuts to the new File2 location.  By all accounts, it looks like the data shortcut were updated to the new source drawing (File2). 

The problem is in some files some of the alignments still source to the File1 location and even when manually synchronizing it still sources from File1.  Additionally, it seems random in terms of which alignment and files source to File2, even to the point in some files one alignment will update to File2 and other won't and some alignments will update in some files but not all.  Note that I am not the original creator of the files so I don't know much history on the files (no alignments seem promoted however).

What’s the best way for me to get all the alignments to point to the new data shortcut source drawing location?

View 3 Replies View Related

AutoCAD Inventor :: Get Previously Created Drawings Updated To New Template?

Sep 30, 2011

I created my standard drawing template which I used on prints and I have now updated my template. Is there an easy way to get my previously created drawings updated to the new template?

View 3 Replies View Related

AutoCAD Inventor :: Select Versus Pick - API

May 17, 2012

I'm writing a program (C#) that automates the notch tool within the frame generator add-in in Inventor. I can select one part and then select multiple other parts that will notch to the first selected part automatically. This will save me a TON of time if I get it working correctly. With that being said, I have it to the the point where the user selects the first part and then window multiple parts (these are stored and then cycled through later), then I use SendKeys to open the "Notch Tool", and now this is where I encounter my problem. 

The Notch Tool is waiting for the user to Pick/Select one part. In my code I've tried to use the CommandManager.DoSelect method which does not register with the tool (I'll exit out of the tool and the part will be selected). My thinking is that this notch tool will only accept the CommandManager.Pick method which would defeat the purpose of the program as I do not want the user to have to go through the parts one by one notching them together.

Is there a way to simulate a mouse click on a selected occurrence within Inventor? Is there another approach I should be considering? And finally, how to rewrite the actual notch tool to allow multiple notches to be done at once?! I'll post a snippet of my code.

docName = instance.ActiveDocument.DisplayName;
int iHandle = NativeWin32.FindWindow(null, "Autodesk Inventor 2012 - [" + docName + "]");
this.Hide();
NativeWin32.SetForegroundWindow(iHandle);
keybd_event(0x23, 0x4F, 0, 0); // Press End
keybd_event(0x23, 0xCF, 0, 0); // Release End (Brings up notch tool)
Thread.Sleep(3000);
//keybd_event(0x28, 0x0F, 0, 0); // Press Tab
//keybd_event(0x09, 0x8F, 0, 0); // Release Tab
NativeWin32.SetForegroundWindow(iHandle);
Thread.Sleep(500);
instance.CommandManager.DoSelect(vert); 

View 2 Replies View Related

AutoCAD .NET :: Cursor Pick Object Event

Feb 8, 2012

i am trying to make a custom palette to display some custom information pulled out from selected objects.i can deal with the palette part.

i want some code for when you click an object in model space then the property palette updates. i am gonna keep it simple so this custom palette only refresh to the last selected object. but i don't know how to make an event when mouse click the autocad object and then do my things. any codes in c# or vb.net would be nice.

so use commandmethod load in a command and there will be a palette there stay open, when user click on an object then it will get populated. what event do i use for the clicking?

View 4 Replies View Related

AutoCAD Civil 3D :: Pick Profileview From Drawing

Jan 23, 2007

I want to create a function to pick a profileView(Alignment/.. in the future) in the drawing. I just get entity which type is Autodesk.AutoCAD.DatabaseServices.ImpCurve from GetEntity, and I failed when I try to cast it to Autodesk.AECC.Interop.Land.AeccProfileView. Is there any way I can pick a profile from drawing in .net?

Civil 3D 2007 and Visual Studio 2005

View 2 Replies View Related

AutoCad :: Selection List Box For Ambiguous Pick

May 15, 2013

Have noticed that on an AutoCAD 2013 workstation when the user make an ambiguous pick (that it, pick on top of two or more overlapped items) instead of just selecting one of them, there will appear a list box (whose caption is "Selection") containing all entities that may be selected in that spot and also None option. The user may pick the entity(ies) he/she want to have selected, but this behavior also prevents dragging the entities (since the said list box is shown again).

View 9 Replies View Related

AutoCAD .NET :: How To Pick Insertion Point With Mouse

Apr 26, 2011

How do I get an onscreen point after/ during a VB.net dialog box is launched (as example like with Hatch add pick points. I would like to create button for this in a vb.net dialog box?

View 4 Replies View Related

AutoCAD Architecture :: Lag With Zooming And Pick Window

May 22, 2011

I am having a lag problem when quickly zooming in or using the selection window quickly. When quickly picking a window from left to right the first pick point  lags and I would select some thing else. Iam using Cad 2012. Is there a command setting that has changed from Cad 2011 to 2012 ??

View 1 Replies View Related

AutoCAD 2010 :: Selection Box Won't Pick Up Objects Twice

May 16, 2013

I am having trouble with my selection box. Ordinarily, when I am trying to select multiple object, I can just create multiple selection boxes and it keeps adding more and more objects to my selection. However, it recently started acting funny--it stopped selecting things after the first box was drawn. No matter how many boxes I drag, it won't add any more objects to my selection.

View 3 Replies View Related

AutoCAD LT :: Dynamic Rotation Pick Circle

Mar 13, 2009

I have a block with a rotation parameter/action. I can't seem to get the rotation "circle" to stay in the same spot relative to the block when I rotate. Example: I make a block of a circle. Go into block editor and put a rotation on it with the base point in the center. Move the blue rotation circle to the center. Close block editor and do a rotation. The "rotation pick circle" will not stay in the center of the circle.

View 2 Replies View Related

AutoCad :: Pick Up Lots Of Nodes (to Become Editable - Red)

Apr 18, 2011

how can i pick up lots of nodes in shortest way (not to pick it one by one) to become red (editable)!?

View 9 Replies View Related

AutoCAD Inventor :: 2013 - Assembly Will Not Accept Updated Part File Name

Nov 22, 2012

I am currently working on a school group project that requires me to submit all inventor files as "LASTNAME_FIRSTNAME_PART,ASSY,DRAWING,etc..NAME". My original parts were all done in mm instead of cm, so for our project, I opened all new files and derived the same parts at a different scale to fix this scale issue between the members. For the new derived parts I temporarily allowed the file name to remain as part1, part2, part3.... and continued with the assembly. Now that my assembly is complete and I would like to change my part file names to the required format, my assembly will not show the parts and (?) symbol is shown by all parts with updated file names. I also changed the original file names and now the new derived parts, when opened, have the same (?) which I assume is related to the fact that the derived parts are dependent on the original file. Is there a way to update this information? We are using INVENTOR 2013.

View 2 Replies View Related

AutoCAD Inventor :: IProperty Fields In Form Updated On Part Selection

Oct 2, 2012

We have recently migrated our production work to Autodesk Inventor. We have a condition or rather a requirement to constantly keep a check on the iProperties of a part while in an Assembly file.

So I thought the best way to do so is to have a form which float's in one of the corners of the screen and updates the fields based on the item selected. Is this possible?

We mostly have parts one level below the assembly, occasionally we have them as a sub-assembly.

View 7 Replies View Related

AutoCAD 2013 :: Properties Dialog Is Blank - Pick-first Is Set To 1

Jun 21, 2013

I am using autocad 2013, and My properties dialog is blank. Pick-first is set to 1. I have completely repair, registry cleaned, but now this problem is continues.

View 9 Replies View Related

AutoCAD Inventor :: How To Select Element Of Pick Point Through API

Apr 3, 2013

I am trying to understand how to select element of pick point through API.

I have found example in API manual, chapter "Interactive selection". Everything seems be clear but finally this example (and also others which I have found on web) doesnot work as I am expecting.

There is example:

Public Sub TestSelection() ' Create a new clsSelect object. Dim oSelect As New clsSelect ' Call the pick method of the clsSelect object and set ' the filter to pick any face. Dim oFace As Face Set oFace = oSelect.Pick(kPartFaceFilter) ' Check to make sure an object was selected. If Not oFace Is Nothing Then ' Display the area of the selected face.'''' there is cursor and content menu correct
[code]...

I am able to select face, during selection is cursor shown as arrow with plus symbol, content menu show correctly zoom and pan commands. Unfortunatelly when this selection is done and message box show the value, the cursor and content menu does not return to correct state. Cursor is still with plus and content menu with zoom&pan. I have found that problem is with messagebox, just before messagebox is shown the cursor and content menu return to correct state , but after messagebox is shown and closed, then cursor and content menu is wrong. Why?

Finally I need it for my addin in C#, is there and better way how to select item or input 2d point?

I use Inv 2013.

View 2 Replies View Related

AutoCAD .NET :: Offset Polyline By Pick Point On Side?

Feb 3, 2013

how to offset a opened polyline by pick point on side of opened polyline.

View 3 Replies View Related

AutoCAD 2010 :: Pick Box Turns Into Rectangle (not Square)

Dec 8, 2011

The pickbox keeps turning into a rectangle and not a perfect square.  It's width is less than its height.  This keeps happening and is annoying.  When I close AutoCAD 2012 and then reopen the drawing its a square, but soon turns into a rectangle. 

View 4 Replies View Related







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