I 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 am working on a website that has existing template images. One of these in particular has a predominate blue background colour, specifically #0a2a35 (195 81 21 [HSV], 10 42 53 [RGB], 81 21 0 79 [CMYK]). I want to transform this colour to an orange colour, #be5d27 (21 79 75 [HSV], 190 93 39 [RGB], 0 51 79 25 [CMYK]). At the same time, I want to change the lighter and darker blue accent colours of the image to become variations of the orange colour.
I have tried several things already, and one method that almost worked for me was using the "Colorize" tool to match the HSV values of the blue colour to orange colour. It almost works except the RGB values don't quite match up.
Without using scripts, is there any way to have rectangles or textboxes act on values coming from a data file? For examplle if the value in a textbox was greater than 10 coming from a data record, could the textbox change color, or any other attribute to make it change from record to recortd as it is being viewed or printed?
I've placed a 1 bit photoshop eps file into Illustrator and I'm trying to colour it. I tried selecting it and applying one of the colour swatches but nothing happens.
Im having trouble exporting a pdf with a spot colour from ID. Just one part of my logo is showing as thicker once its exported. I can place in the exact same artwork but using a CYMK colour and the thick shape doesnt show. Im placing an ai. file.
I am working on a 2-color newsletter in Indesign CS5... black and Pantone 227U.
Whenever I place a duotone .eps (black + 227U) or an Illustrator vector .eps with 227U in it, the color mode for that swatch changes to CMYK. An Illustrator vector which is 100% 227U also gives me the same issue.
I have a hatch pattern in one of my objects. I want to apply exactly the same hatch pattern to other objects but I don't remember the settings for original hatch.
There is a command in ACAD to apply properties of one object to others (brush icon in toolbar). I tries to use this command but it seams that it doesn't work for hatch.
What is easiest way to apply a hatch pattern from an object to the other one?
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 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.
I 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 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?
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?
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.
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.
I 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...
I'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.
I'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.
So 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?
IT 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.
How do I import my iPhoto events into Elements 11 Organizer and keep the events separate. They are all named and I want all the information to remain with the event.