I have a SelectionAdded event handler that reacts three times when selecing a single block and once when deselecting it.
If there are two blocks in the drawing but only selected one it reacts 5 or 6 times.
And it reacts every time I pass the mouse over the selected block.
Is there any way to sidestep the events in the handler so that AutoCAD doesn't grind to a halt if I have multiple blocks in the drawing. And decide to move my mouse over all of them?
I have an addin with a palette that include some datagridviews.
I show in these datagrid, properties and information about all alignments in drawing.
With event commandEndend I can update all information if I use "grip-strectch" for some PI alignment.
However, we can modify alignment data from Panorama palette (geometry editor) and I would like to know if there are any event to catch it after modify data.
I have the same trouble that this post:
[URL]
Autocad Civil 3D 2014 +SP1 Quad Core Intel i7 3770-cpu 3.40Ghz. ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd 32gb RAM 1600 Mhz. nVidia Quadro 2000. Win 7 Pro 64bit
I am trying to add event handler in the "ThisMacroStorage" module of CorelDRAW X3. I wrote a procedure to handle the "GlobalMacroStorage_DocumentOpen(ByVal Doc As Document, ByVal FileName As String)" subroutine. However, it does not trigger when I open an existing document the event does not trigger. When I check the Application.EventEnabled property the value is false. When I set it to true the value remained false.
The handler routine works in X4 and X5 and the Application.EventEnabled are both true in X4 and X5.
why X3 does not trigger? According to the dvba_pg.pdf file the events including "GlobalMacroStorage_DocumentOpen(ByVal Doc As Document, ByVal FileName As String)" will trigger in this case when a file is opened.
Is there something I need to do so that Application.Enabled will true? I did a X3 repair. I reinstalled the Utilities which includes VBA. I reinstalled the 3 updates.
Is it possible to write an event handler for an autocad event/ command like insert new block? I want the event to trigger the execution of an update routine . something like this post
This error (autocad error handler re-entered, Exiting now) happen when i was opening multiple autocad file. After i pressed on the 'ok' button the program close everything without saving the work i had done.
I have this script that basically makes a shape expand by adding an outline, conveting the outline to an object, and then welding the whole thing together.
I have the script set to execute with hotkey ctrl+numpad+
The odd thing is, when I run it once, it seems to work fine and only one object is left, but when I hold down ctrl and press numoad+ over and over again, it seems to produce a new copy of the object everytime.
I'm not sure why this is happening, but I need to get it to stop.
Sub Expand() EventsEnabled = False 'Dim vars Dim c1 As New Color Dim OrigSelection As ShapeRange Dim OrigColor As Shape Dim width1 As Double Dim height1 As Double Dim minSize As Double Dim Thickness As Double 'copy color of current selection Set OrigColor = ActiveShape If OrigColor Is Nothing Then Exit Sub If OrigColor.Fill.Type <> cdrUniformFill Then Exit Sub c1.CopyAssign OrigColor.Fill.UniformColor 'get thickness to increase by Set OrigSelection = ActiveSelectionRange OrigSelection.GetSize width1, height1 If width1 <= height1 Then minSize = width1 If width1 > height1 Then minSize = height1 Thickness = minSize * 0.035 OrigSelection.SetOutlineProperties Color:=CreateRGBColor(0, 0, 0) OrigSelection.SetOutlineProperties Thickness, ScaleWithShape:=True 'weld Dim s1 As Shape Set s1 = OrigSelection(1).Outline.ConvertToObject Dim s2 As Shape Set s2 = s1.Weld(OrigSelection(1), True, True) 'auto reduce 's2.Curve.Nodes.All.AutoReduce 0.001 's2.Fill.ApplyUniformFill c1 'delete remnants OrigSelection.Delete s1.Delete 'OrigColor.Delete EventsEnabled = TrueEnd Sub
I'm using Autodesk Map 3D 2006, it's a new install. I am trying to import an ESRI .shp file with the object data, but have only been able to successfully import it once. When I try again (even after restarting the program), I keep getting 0 objects processed and no linework imported, even with new drawings. I also got 2 error messages at one point: 1900 - about having coincident points and a can't transform object error.
I have an issue where an addin loads once the first time Inventor is opened. If the addin is unloaded and reloaded via the Addins dialog and no documents are open it loads once. If the addin is reloaded while a file is open is reloads twice.
I came to the conclusion it is loading multiple times because the it seems to go through the Activation method of the addin twice. When is the Activation method called during loading an addin?
Inventor Addins FlowTools for Inventor ilxButton Panel (Buttons for iLogic Rules)
A drawing that is in Vault, it asks if you want to check it out, and if you say no (like if you just need to print it), it opens it then asks you again if you want to check it out? Did it not get the hint the first time?
Trying to find out how to copy an object multiple times in a curve. I've used microstation and it does it easily and just wandering is AC has the same type funtion without going throught 6-8 steps for each copy.
In testing my latest automation project, I've found that I can't save copies of a part multiple times (after deleteing the files off the disk) unless I close out of the top level assembly document, and reopen it. I used Process Monitor and determined that Inventor is trying to save to an existing file instead of creating a new file.
I am trying to copy a layout tab inside an AutoCad file into a sheet set I created. All folders and sub folders are created and setup. What I need is to be able to copy the same layout under different sub folders inside sheet set manager.
To explain this better, I have a sheets set with all different departments inside our company (ex. CNC Dept., Bending, Machining, Welding, etc.). Some drawings have information for CNC, Welding and bending dept. Therefore I need to be able to copy the same drawing layout multiple times under each dept folder.
How can I do this? It only allow me to drag and copy the file once. I wont be able to drag it again under another folder.
Using PS CS6 on WIndows 7 64. All drivers updated. When I set 5 copies in the print menu, with either PSDs, TIFFs, or JPGs, PS sends the same job five times rather than telling the printer to just make 5 copies.
This happens when using either the color laser or Epson R3000. This does NOT happen when using non-CS6 products. On a 25 print run, this takes an abnormally long time.What I HAVE found is that PS is NOT passing the information to the printer. In other words, even though I set PS to multiple copies, when I click printer options the number of copies has not been passed to the driver.
Is there a way to flip face multiple times? I have lots of composite window in the external wall of my model which someone has placed the wrong way round, at the moment I’m just flipping one window at a time.
I want to put multiple people in the scene. So I'm trying to import people.fbx into the scene. It succeed at the first time. I grouped the meshes and skeleton and name it in name people1. But I can't import the same people.fbx again. Is there any way to import one .fbx into the scene for multiple times?
I have created an image and would like to print as many copies of it as I can fit onto a single page from my printer (let's say A4 size). (My image is a logo that I am printing to water-slide transparency which is too expensive to waste one sheet per image). I can't seem to easily do this in Paint.Net (the options for contact sheet and wallet don't come out in quite the size I want). So I guess the best option is to save the file in another format (tiff, jpeg, PNG etc) and then copy it multiple times into another app like Word or PowerPoint, and then print from there. However my image has some transparent areas that I need to keep as transparent. How do I do this? Are there some image file formats that will retain the transparency? Likewise do word or PowerPoint support the transparent areas and print as such?
After printing a photograph cannot print another. Error message: "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents." have to close and reopen the program to print one more.
I have this program on my laptop as well where it does not have this problem. Have tried reinstalling but problem remains on my desktop.
I'm trying to make a very simple 20 second video clip of me hula hooping, and every 4 seconds, draw a circle around my hula hoop that remains there for the duration of the video. So at the beginning there will be 1 circle, at the end there will be 6. how to make one of these circles visible at a time. I've been googling and youtubing for the the past 2 hours.
I want to print the file with these layers selected individually, so that if I have two text layers "Cow" and "Dog", I get two similar images with different text.
How would i automate this? It would take a lot of work to select each layer and save the files individually.
I have a button which has a mousover/mousout animation. When i click the button, it will shrink down to 0%. when it does, my mousout event is triggert, which i dont want.
how can i disable the mousout event after the click event?
So they say if you save a JPG image lots of time, the image starts to lose information...
If I open up a JPG image in Photoshop, make some edits, then use the 'save as' command (using a lower quality setting), overwriting the current file open, will saving it again further compress the image that is currently open? Or does photoshop store the original file (when it was first opened) information until closed?
When I cut, and copy an image to the clipboard and then paste the image into a new, blank page, it pastes the image multiple times (about 20) on the one page. How can I revert to it pasting just one image?
If I create a new title template and apply it 30 times inside a project and the client comes back and says they want a different font and color, is it possible to edit the title styles globally yet have the text content remain unchanged?
just started using Edge Animate. I have some experience with Flash and After Effect so the layout is pretty familiar to me. I have no background in coding so I am very happy that it generates codes for me.
My goal is to make a simple html5 site with links / embedded videos to my contents (500 and vimeo). I copied some codes used for Youtube embedding, sub'd the url with vimeo url, and it worked fine. I used a "play video" button on the main page to trigger loading the video page (see my code below).
It worked great the first time I clicked the button and went to the video page. However, upon returning to the main page, and click the "play video" button again, a duplicate copy of the video is loaded right below the video loaded upon first click. This occurs for as many times as I click the play video button.
I have a logic problem in my code that I need solving,
here's the bit of code which is supposed to set the text, image and link for a symbol used multiple times on the Stage.
var names = ["melz", "brom", "calm", "micj", "mick", "brir", "mato", "brym", "azin", "hugh", "nicl", "bonr", "lisa"]; var name = null; for(var x = 0; x < names.length; x++){ name = names[x]; var initials = (name[0]+""+name[3]).toUpperCase(); var cursymbol = sym.getSymbol(name);
[Code]...
The text and image code work, however my problem is with setting the link. It always sets all the symbols to the last name in the names[] array. What I want it to do is to set the link to the personalised name in the array. So the HH button will link to hugh.html and the BM button will link to brym.html etc.
For now I'm going to play around a bit and see what happens.