AutoCAD 2010 :: Global Events VBA Not Working
Jan 21, 2012I am running Windows 7 6t4bit and AutoCad 2011 64bit. I am not able to confirm an ACADDOCUMENT_ENDCOMMAND event has fired. Any reported issues out there?
View 1 RepliesI am running Windows 7 6t4bit and AutoCad 2011 64bit. I am not able to confirm an ACADDOCUMENT_ENDCOMMAND event has fired. Any reported issues out there?
View 1 RepliesHow do I globally change the Xref path to a new server? I tried adding it into the support/working path in Options etc. but hasn't up-dated drawings. I manually changed one drawing (there are posts on this) and it works, but I have many drawings and would like to keep the date last modified also if possible.
View 5 Replies View RelatedI used the BEDIT command (editor) on my block to modify the text size then save the block editor changes. Then use ATTSYNC to perform the changes on all existing blocks references to resize the texts, but after i complete the ATTSYNC command, the text in all the blocks disappear.
View 2 Replies View RelatedIt used to be that when you selected a ployline onscreen you could set properties for the line in the properties dialog. With this version of ACAD, if the polyline is not of uniform width on all sections then the global width option is missing from the options dialog.
I know that you can now right click and go polyline/width but i suppose i have been doing this a certain way for so long and now i cant and its annoying.
We need to export line info (which looks like a table) from autocad to excel. Is this possible?
View 2 Replies View RelatedWorking in Autocad 2011, PC version.My drawing has blocks that contain (1) visibible and editable attribute. Also contain (4) invisible and constant attributes. I need to update text information in the (4) invisible attributes. Using BATTMAN seemed the easiest way to do this, but when "Sync" ing the changes, the rotation angle/placement of the Visible attribute changes globally in the drawing.
(Many of the Visible attributes location were adjusted to prevent overlapping with other drawing lines.
How can I update text values of invisible attributes without rotating/adjusting the placement of my visible one?I've tried -attedit & attredef - neither of them did what I needed.
How to "grab" the print event (Ctrl-P, File Print or Print icon) from an add-in. I would like to force the user to add some information about the print in a dialog before printing a drawing.
I can't find any application or document events fired when printing like OnSaveDocument, OnQuit in the object browser.
I want to handle events on viewport.
When I resize my viewport the event must be triggered.
I'm using Qt in my project. So to display the QWidget in appropriate position I need events to do it.
Is there a way to save the events from the Events Panorama?
Civil 3D 2012 SP 3
Dell Precision T7400, Xeon CPU 3.16 GHz
Win 7 Pro, 64-bit,12 GB RAM, Nvidia Quadro FX 4600
I have created a basic add-on that shows a modal windows form. The only issue I am running into is that I am completely unable to capture any key events in the form. I just want to make the escape key close my form, but I'm having no luck. Here is my basic setup:
<CommandMethod("myCommand")> _Public Sub myCommand() Dim myForm As Form1 = New Form1Autodesk. AutoCAD. Application Services. Application.ShowModalDialog(myForm)End Sub
Then in the form code, I have this, for testing purposes:
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress MsgBox("keypress") End Sub
I've also tried KeyUp and KeyDown. Key presses are working inside the form (I can use the keyboard to select an item in a combobox, for example), but I never hit the event handlers.
I am trying to find out which Cell in a table is being / has been modified, in AutoCAD 2011 with C#.
I have subscribed to the Table's .Modified event, but when this is triggered by modifying some MText in a Cell, the Table's .HasSubSelection property is false and its .SubSelection property throws an exception. Conversely, modifying the MText in a Cell does not trigger the Table's .SubObjectModified event.
I noticed a class called Autodesk.AutoCAD.Internal.Reactors.TableSubSelectFilter which has a event called CellSelected, but how to instantiate such a class for the Table and subscribe to this event.
How Autodesk intends you to determine which Cell of a Table has been modified?
how can i catch the plotting information (paper size and scale ... ) using plotting device??
View 9 Replies View RelatedI have obtained a very useful macro from another discussion thread, [URL]....... It automatically names the frame members inserted by Frame Generator. I have modified the macro for our internal naming conventions, but the basic functionality is the same. I would like it to load automatically whenever I am in Inventor and believe an Add-In is the way to go. I have followed Brian Ekins "Taking the Step from VBA to Inventor Add-Ins" paper, but I think I am missing huge chunks on how Add-ins handle events and have been unsuccessful in finding any help topics. How to handle events in an add-in.
View 7 Replies View RelatedI receive text files daily from our survey crew. Importing each point file daily creates multiple import events under the database. Is there a way to combine import events to make it easier when wanting to work with all points ?
I have combined multiple text files in the past then did the import, but I then would receive another file some where down the road that would needed added to the drawing.
how you put the rule in but is there a way to remove the rule. I put one in and I don't like how its acting and would like to remove the rule from the list but I see no way do do so...
View 6 Replies View RelatedIT moved all of our projects to a new directory and have subsequently broken all the survey events. Is there a way to update survey events so they can find the original file again or does each event need to be redone to fix this?
e.g. I brought in a fbk located at p:/prj/6000 that file is now located in p:/6000.
I am in need to select a profile path using interaction events. How can it be done? Is there any filters available for a Profile Path Selection?
View 9 Replies View RelatedI wrote a small script in python to write dxf files out. I want to add this to a button on the ribbon. I got that sorted out and can get my button to appear where I want it. I am having trouble calling the script from the button though.
The API tells me that the button has an OnExecute() event that I should listen for to call my script. I have been searching on how to do that from python but I haven't had any luck.
When I click the Escape button, All the selection events are stopped working. Please follow the steps below reproduce.
1. Create the Select Events Object using the following steps.
m_pCommandManager->CreateInteractionEvents(&m_spiInteractor);
m_spiInteractor->put_SelectionActive(VARIANT_TRUE);
hr = m_spiInteractor->get_SelectEvents(&m_spiSelectEventsObj);
m_spiSelectEventsObj->put_Enabled(VARIANT_TRUE);
m_spiSelectEventsObj->PutWindowSelectEnabled(VARIANT_TRUE);
[code]....
2. Open the part and Select any face in the model.
I get the following event.
STDMETHODIMP CSelectionEventHandler:nEvent_OnSelect(ObjectsEnumerator * JustSelectedEntities,SelectionDeviceEnum SelectionDevice, Point * ModelPosition, Point2d * ViewPosition, View * View )
3. Now click on the Escape button. Now if you try to select any face , no call back is received.
My add-in is working fine in Windows 7 with or without Run As Admin.
I have created my add-in using VS 2010 SP1.0.
Now, if I try to launch Inventor(w/o Run As Admin i.e just double click) 2014 SP1.0, in Windows 8, my add-in works fine.
If I launch Inventor with Run As Admin, My add-in stops receiving call backs from Inventor.
I am working with AutoCAD 2012 on a single computer. It appears that the acad.pgp doesn't work. for example when i type DI in command line it refers to:
Command: di DDINSERT
Command: nil
but i have checked the pgp file and in it, the letters DI refer to command DIST. Also in Command Alias Editor they refer to command DIST. I have also tried this:
Command: (findfile "acad.pgp")
and the answer is:
"C:\Users\User\appdata\roaming\autodesk\autocad 2012 -english\r18.2\enu\support\acad.pgp"
As I'm working in 2011 all of a sudden when I want to deselect all I hit the ESC key and objects are still selected. I can right click and select deselect all and that works. If I shutdown AutoCAD and restart the ESC key works again.
View 9 Replies View RelatedWhen working with layers, AutoCad 2011 goes into a "not responding" mode for a time. The more layers the longer it stays. Ctl,Alt Delete is not the answer.
My system is a Win 7, 32bit, with 4.0 Gb ram.
The system resource moniter is in the 67% MEM usage range. Normal usage is 47% with nothing visible on the display.
We've tried every command imaginable. F3 doesn't work. Checked all setting is Drafting Settings, (incl. 3d). Saved, and restarted.
No OSNAPs work in any command.
I am trying to run a DVB, file through a lisp routine, but it is telling me that the macro is not found. The macro is:
(DEFUN c:tm ()
(COMMAND "-vbarun" "txtmrg.dvb!RuntimeEvents.stylemerge")
(SETVAR "nomutt" 0)
(PRINC)
) ;_ end-defun
I have both the lsp and the dvb file in the same folder, and used appload to load the lsp routine.
I've got problems using Acad 2012, i'm sure it isn't a hardware problem since the specs are HIGH
First Problem is, when mouse over an icon/box/whatever you call it (eg. Line tool, Circle tool, etc), it only displays the text, but it doesn't show a blue highlight like it's supposed to do, and when i select it, the Blue highlight does not transfer to it, it remains on the Line tool
Second, The Search box isn't working
Third, when i switch from Drafting & Annotation to something else or vice versa, the tabs remain the same, and is usually accompanied by some annoying lags.
Every once in a while when I run the LAYMRG command, it just doesn't work. It looks like it's doing something, the screen flashes, like it's merged the layers, but in reality it hasn't and I get no error message as to why the layers weren't merged. Now I can't seem to get the command to work in this one particular file no matter what I do. If I copy elements from both of the layers I want to merge into a new and clean file, it then works.
what can cause LAYMRG to hiccup like this?
PS: I've run an audit and all was good and purged all regapps in case something was interfering with the command.
Why my F keys are not working and how to fix them?
View 3 Replies View RelatedI got my January/February issue of PhotoshopUser a few days ago and there's a great article on the new Events Manager in CS2. I haven't gotten a chance to play around with it yet (didnt know it existed before reading the article!). Has anyone used it much yet? it seems that it's better for people who work strictly in one medium like photography, rather than someone who used photoshop for a variety of things. just wondering what people have done with the new tool.
View 1 Replies View RelatedI can create an Event in Photoshop Element's Organizer, but the Event does not show up in the Event tab. I can see a small tag on the video file that I put into the Event when I created it, but no such Event is listed in the Event tab.
This function used to work for me, but it suddently stopped.
I have been using the MVSetup command to adjust a view port orientation however when I do this the Pickfirst command is changed to 0 - it was only by chance I discovered this and was able to change it back. Also, is there a command to reset all changes made through MVSetup in a viewport ?
View 9 Replies View Related