AutoCAD .NET :: Plotting Device Information With Events
Apr 23, 2013how can i catch the plotting information (paper size and scale ... ) using plotting device??
View 9 Replieshow can i catch the plotting information (paper size and scale ... ) using plotting device??
View 9 Replies I've never had to rebuild a PC for drafting until now. We are using a VERY old batch processing program called ScriptEase. However, on the rebbuilt PC, when processing a batch, AutoCAD will not prceed because it stops and says:
"Can not use None device for plotting"
How, in the plot settings, can the correct printer and paper sized be saved? I've looked all over and cannot get it to save. Under the options and Print and Plot Devices, it is there but when manually going to PLOT, it just says NONE and will not remember the default printer.
We are using AutoCAD LT 2007
It is possible to add GPS information to photo (e.g. from external device or Google Earth)?
View 2 Replies View RelatedI want to block the information of plotting in the editor see example (french version) :
***Zone effective du tracé: 290.70 de large par 400.97 de haut
Fenêtre de tracé 2.
The information is showing when i plot. How i can do that ?
I'm having an issue plotting or exporting a dwg to pdf. When I have a dwg with a linked excel table and want to plot a layout, everything plots except the excel table. I'm running LT 2012, windows 7 pro (64-bit). I send the same file over to a friend running LT 2011 an he adjust the viewport boundaries slightly and he encounters no problem either plotting or exporting to pdf. I've tried the same with no success. My Adobe Reader is up to date as well.
View 7 Replies View RelatedI am a AutoCad drafter for telecommunications and I have utility pole points (long/lats)
I can insert the poles via long/lat and all is great, my issue is I would like more information in those points.
For example, pole number, class, HOA, Make Ready. Currently I create a survey data store and import ASCII Points using PNE(comma delimited)
So with my Excel file (this is where I get my pole information from) I get a point/northing/easting to enter into the formatting section.
I would like to add more information to these individual points, like ploe number, class, HOA...
If I view the point table I see that there are a lot of other columns, can I use them or customize them? is there a quick tutorial on this issue?
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 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 Replies View RelatedI 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?
I 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.
I'm attempting to plot a drawing with a 3d shape and a title block around it. I would like for the occluded lines to not be drawn therefore I'm using the hidden visual style and set shade plot to hidden as well.
My problem arises from the quality of the plot to PDF versus the quality coming out of a printer. It is just a 8.5x11 page. The pdf comes out with horrible anti-aliasing and jagged lines, whereas the print is entirely smooth. Is there something simple I'm missing? It would be even better to find a way to make the plot to PDF come out in vector format! I know it is possible to show the layers and have them vectorized in a PDF... How is this done?
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 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 trying to set up macros which stop lines from printing for our company title block, I have been using and following this website Making Lines Not Print (with Events) | Boost Your BIM - making Revit even better. It keeps coming up with errors and therefore I can't run it.
View 4 Replies View RelatedI'm going through tons of photos and applying keywords to the overall events, so maybe as an example it is a bday party so I select all of those images and tag them all as such. Next, I am trying to tag individual people within all of the tagged bday party images, and as I'm sure you are aware, it is very tedious.
View 2 Replies View RelatedUnable to plot with AutoCAD Map 3d. Problem just began. Reinstalled program. Installed SP-1. AutoCAD will not plot to ANY device. Previews just fine. Printer icon behaves as if plotting. Stays at that point until plot is cancelled.
View 7 Replies View RelatedI'm a Mac user new to elements. When I imported my photos from iPhoto the events didn't import with them and it's impossible to find the photos I want.
View 1 Replies View RelatedSo I have an interactive piece with several shapes. There are about 5 rectangles, 3 horizontal and 2 vertical. For aesthetics and to fit them all in the space (stage), they overlap slightly. Whenever you mouseover a single rectangle it pushes the other rectangles away and a text bubble appears. When you mouseout, the text box goes away and the rectangles return to their original position. This worked without glitches when I applied it to the first rectangle. Now that I'm applying this to all of the other rectangles, I'm running into trouble. I'm thinking the trouble is with the overlapping portion. If you hover one rectangle where it overlaps another rectangle for a split second it plays the correct animation but then I think it tries to also play the animation for the other overlapping rectangle that appears underneath.
So my question is, what is the best way to remedy this problem? On mouseover can I temporaily disable mouse events for the other rectangles once one has been triggered? And then maybe re-enable them on mouseout? Is there a way for the rectangle that is visually on top to be the one that recieves the mouseover event?
I wanted too add a rubber sleeve onto a device I made. The sleeve would be adjustable to the size of the pole. How do I make this flexable rubber sleeve knowing the distance it can stretch?
View 8 Replies View RelatedI am unable to install AutoCad LT 2013 on my Windows 7 x64 system. Everytime I try to install I get the error message:
"The system cannot open the device or file specified.
C:UsersEricAppDataLocalTemp\_AI194B.tmpx86en-usComponentsadr2013SetupDesignReview2013.msi."
I can go to that folder and that file is there. However, if I try to run that file it then gives me errors about other missing files, that are not in that folder.
I have tried this with Multiple Logins, including the Adminstrator. I have also, completely wiped out the system and reinstalled Windows 7 from scratch.
I have set the UAC to the lowest level.I have also tried another DVD, and tried copying the files to the machine. No matter what I try I get this same message.One other thing, this is the 2013 Upgrade.
my app permits to the users select multiple DWG files, inserting them into a MSHFLEXGRID.
After this the user can select a DWT file and store in a matrix (PC) all its AcadPlotConfigurations.
The user can select distinct Page Layout for each DWG file selected.
Then running the code below, each file is opened in ACAD and then printed using the specific Page Layout.
This was running very good in ACAD 2002. After migrate to ACAD 2005 only the first file is printed. The others DWG files return FALSE to the PlotToDevice command.
Is it missing some command ?Does ACAD 2005 need anything extra to run ?
Obs: the DWT Page Layouts were created for MODELs and the files to be printed are using only the model space too.
'################################
' PLOT SAMPLE
'################################
Dim PC() As AcadPlotConfiguration
Private Sub Plot_Click()
Dim Layout As AcadLayout
Dim LayoutBase As AcadLayout
Dim indice As Integer
Dim retorno As Boolean
[code].....