AutoCAD .NET :: Keep Variable After Quit Main Function Of DLL?
Feb 12, 2013
I want to load my DLL, launch the function with a command. After i quit and lauch the same command. (The DLL is already in memory).
(using sessionflags.)
It is possible to keep the variable i have used in the the first launch for use in the second launch ?
The main function is for adding block in a collection (the user select block). The programm quit, so the user can open a another dwg and run the main function for adding another block. (i memorize name, handle, name of file etc..)
Another question : it is possible to create a form in autocad but if the only active document is closed, the form is not closed and visible. ?
All there question is for create a best solution for manage my collection of block.
View 5 Replies
ADVERTISEMENT
Oct 3, 2012
All of a sudden my Copy Function quit working in Corel x5.
I can copy from other programs and paste into Corel, but I cannot copy from one file to another file (or the same file even) within Corel.
I was told it could be a possible update from Windows 7 causing it and that I need to reinstall my software.
View 10 Replies
View Related
May 12, 2013
Just getting started with Animate and coming to it from Flash, as may be apparent from my question. How do you set a variable to the main timeline from within a symbol?
I have 24 pairs of clickable elements, each in their own symbols, and all 24 of those symbols sit inside another symbol. I want all 24 to be able to set the same global variable when clicked. I can't find that this question is addressed anywhere, which makes me think I may be stuck in a Flash mindset and approaching the task in the wrong way. (There are however MANY discussions of how to address objects at different levels in the hierarchy. That's well covered.)
Relatedly, how do you access a function on the main timeline from within a symbol?
Adobe should consider putting together a support page (or pages) just for folks migrating form Flash. In the materials I've encountered so far there seems to be a studied effort to refrain from mentioning Flash in any way. I imagine there are a lot of people out there like me who have a deep background in Flash coding, but are just getting started with Animate.
View 6 Replies
View Related
Oct 25, 2013
This seems absolutly silly.
(setq p1 (getpoint))
(setq p2 (getpoint))
(setq Dist (distance p1 p2))
Why does this not work?
I'm trying to build a command to replace AutoCAD's "DI" command, to give distance and delta x, y, and z values in decimal and imperial, and keep the angles in XY plane and out of XY plane.
View 9 Replies
View Related
Nov 5, 2013
I'm attempting to write a batch script to add some layers to a pre-existing image and save a copy. I've gone through the tutorial, and have run the demo code from Basic_Batch with no errors, but my (what I think of as simple) script throws an "Error: eval: unbound variable: ?" It also seems to cascade the error to other scripts, as I then get "unmatched parentheses: 2" errors from what I assume to be the script immediately following my own during Script-Fu load. This occurs whether running from batch or clicking "Refresh Scripts" from the Script-Fu menu.
What I could find on this forum and Google suggests that I may be required to 'define' one or more of my variables before using it, but for the life of me, I can't figure out which one that would be, and the error (reporting that '?' is undefined!?) I've quintuply (probably more ~_^) checked my parenthesis matching, but they look fine to me.
In case this was an encoding issue, I've tried saving my .scm file as both UTF-8 and ANSI. I should also note that I'm running Windows 7 x64 in English-US.
Script:
(define (script-fu-build-imagebasefilemytext)(let*((image (car (gimp-file-load RUN-NONINTERACTIVE basefile basefile)))(drawable (car (gimp-image-get-active-layer image)))(title (car (gimp-text-layer-new image mytext "Courier" 18 UNIT-POINT))))(gimp-image-add-layer image title -1)(gimp-image-clean-all image)(gimp-file-save RUN-NONINTERACTIVE image drawable "K:\\Images\\Temp.gif" "Temp.gif")));
Since I intend for this script to only be run from batch, I haven't bothered including the typical register stuff.
View 6 Replies
View Related
Nov 13, 2012
I'm trying to be able to have a function run another function with the secondary function being passed as an argument to the first. I'm trying to create a recursive function and the recursive part works great. I just need to be able to have the recursive function run other functions to actually do stuff.
Here is something I found that should do what I need, mainly run a function from a function name in a variable.
Sub test() Dim ftnName As String Dim argument As String Dim result As String ftnName = "myFunction" argument = "cat" result = Application.Run(ftnName, argument) MsgBox resultEnd SubFunction myFunction(inString As String) As String myFunction = inString & " has " & Len(inString) & " letters."End Function
However I get the error "object required" on the "result = Application.Run(ftnName, argument)" line. So I'm guessing the Inventor VBA doesn't like this method of doing this. I'm just hoping there is a way to do this or this function will be useless or reduced to hardcoding functions which still defeats the purpose.
View 2 Replies
View Related
Jul 2, 2012
I installed Infrastructure Design Suite 2013 on my pc to try, when using 2012.
F1 doesn't work and neither does any of the buttons on the Help ribbon. I haven't uninstalled the 2013 version yet. Was hoping to not have to.
View 2 Replies
View Related
May 6, 2011
I just tried to do an xref and the command stops everything. I get no reaction from autocad. What is wrong?
here is an update: The Xref Palette is docked to my left side and when I hover to get it to flip out I click the DWG button in the left hand upper corner. Well nothing happens from there. Now, when I type -xref the command works at the command line. How do I get the palette to work again?
View 9 Replies
View Related
Aug 15, 2011
We have had this problem on several computers in the office and it seems to happen at random. The existing tags in the files still read correctly, but if you try to insert a new tag, or a room name or number updates, the only way to get them to read the correct space information is to close AA and restart it. I have not been able to identify any common circumstances when this occurs.
We are on AA 2010. This morning I had barely been in the program an hour when I had to restart just to change a room name.
View 1 Replies
View Related
Feb 17, 2010
I must have changed some dam switch or something. DBLCLKEDIT is set to on and CUI is setup for some double click actions.
View 2 Replies
View Related
Aug 8, 2012
We are have been using Inventor to draw wooden furniture for a couple years, and have a custom appearance library with several different finishes (using photos of actual finished pieces of wood). Every now and then a part (ipt) takes a notion to not change to the color we set it to, seemingly without ryhme or reason. This mostly occurs with mirrored parts, but occasionally a standard (not mirrored part) will do this as well.
We have done all the obvious things, and some not so obvious. The path to the photos and the library is added to the project, and I opened the Appearance Browser and checked to make sure appearance knows where to find its bmp file, and it still doesn't do it to change color. And yes, I tried restarting my computer, because a couple days ago I was working with the Appearance Browser, and sometimes restarting Inventor made a difference in whether certain things worked or didn't work. This is also not limited to one computer, it acts like this on all of our computers.
We are using some png files and some bmp picture files. Would the file format maybe have something to do with it ?
View 1 Replies
View Related
Dec 2, 2004
This may sound like a stupid question but I have been doing a bunch of work on different photos over the last few days and every thing has been working fine.
Today I had the program open and was working on a project with the eraser tool and I had to leave to answer the phone. When I left the tool was working fine while I was away from the computer it kicked into sleep mode. When I came back and went to start where I left off the eraser tool would do nothing.
I have since garbaged that whole project, restarted my computer reset all the tools you name it and I can not get that or the paint brush to work.
The eraser tool will make a very fine scratch no matter how I set it.
What happened while I was away from my desk????
I do not have any kids or anyone else that would have messed something up.
Does anyone have any ideas, is it something simple or should I try reloading the program?
View 1 Replies
View Related
Nov 3, 2013
I installed cs5 and used it without problems. I downloaded a trial version of cs6, and when it expired, I get a message that say cs5 has quit unexpoectedliy everytime I try to open it. I've uninstalled and reinstalled but it still will not open.
View 1 Replies
View Related
Sep 14, 2010
Illustrator CS5 15.0.1 keeps crashing on "Quit". It runs fine when using the program and saving my files but when I go to "quit" it, it crashes.CS5 is all up-to-date with the latest updates and the same goes for the MacPro Quad 2.66 Nehalem with 8gigs RAM (Mac OS X 10.6.4).
View 5 Replies
View Related
Jul 9, 2013
I have noticed in the last few days that my Lightroom 5 (CC) is failing to quit. I run it on a mac with the latest OS. I have to force quit the program.
View 5 Replies
View Related
Mar 5, 2012
I'm getting constant and repeated crashes in OSX Lion 10.7.3 on an i7 iMac w/ PS CS5 v12.1 - Crashes are 100% repeatable.
I don't have to do anything at all other than open the program, and quit. Then = CRASH! (I've searched and read similar reports of this from years ago but this is all current 2012 hardware/software) Crash log here -
[URL]...
View 1 Replies
View Related
Nov 4, 2013
Photoshop quit suddenly and now won't open, how can I fix this?
View 1 Replies
View Related
Sep 12, 2008
I am currently using the trial version of PS CS3 on a vista machine. (my true copy is on the way) Droplets worked yesterday but suddenly don't work today.
View 1 Replies
View Related
Nov 20, 2013
I'm running Photoshop CS3 on Mac version 10.7.5. Every time I open PS I get the error message "adobe updater quit unexpectedly". Once I click out all I see is a white box for "Adobe Web Suite Premium CS3" that is blank. It can only be minimized - not closed. Everything else in PS is greyed out and unusable.
View 2 Replies
View Related
Apr 30, 2013
CS6 using Mac OSX 10.8 (And earlier versions) won't allow me to move placed items unless I quit and re-start!
View 1 Replies
View Related
May 10, 2012
this function seems to have simply stopped working. I tried it on two images and the wheel spins while it "works," but absolutely nothing happens.
View 4 Replies
View Related
Dec 19, 2012
Adobe Service Manager CS5.5 seems to hang after I use Photoshop. Fine with Indesign etc. (even after closing photoshop).
This prevents my iMac from shutting down. How do I switch it off / disable it or repair it in OSX7?
View 3 Replies
View Related
Jan 1, 2013
Recently, when I save PhotoShop 5 photo files, they no longer create image thumbnails, just pixelated squares. Is there an adjustment to correct this? I am running CS5 on an iMac with OS 10.75.
I am creating photo files from scanned b&w negatives layered with colored scans of aged papers and saving them as tif files for printing.
View 4 Replies
View Related
Nov 28, 2012
It happen recently when I try to launch Adobe CS6 Illustrator, the loading stop at switch library and quit unexpectedly. I did not encounter such issue previously. I tried updating Illustrator patch but it is still having such issue.
I am using a Mac Book Pro, OS X 10.7.5, here is the error message.
View 1 Replies
View Related
Mar 23, 2014
If I try to use the hints, it takes me to the sign in box. When I try to sign in, the program hangs up. I can not cancel or quit the program. I have to use a Force Quit. It appears that I am locked out of some of the features unless I am signed in. Regardless, I would like to use the hints as this program is new to me. I have also tried to sign in by clicking Sign In in the upper tool bar. Same problem.
View 1 Replies
View Related
Mar 7, 2013
I am running LR4.3 on a Vista 32 bit system. I have a new Toshiba external drive that has been storing my work from lightroom. All has been working great until last night. I was working on photos and all of a sudden a banner came across the top saying photos is missing or offline and then that the folder was missing. The external drive was still plugged in but not lit up. I unplugged it and shut everything down (multiple times) but the drive has disappeared from the selectable drives on the left hand side. I can access the external drive through windows and my photos are there but LR4.3 does not see it. How can I get LR to see the drive again?
View 7 Replies
View Related
Oct 7, 2013
My adjustment brush in LR 5 suddenly quit working. It paints a white smudge instead of doing what it should. Even with the latest update, Ver. 5.2, the results are the same.
View 2 Replies
View Related
Aug 22, 2013
My main plug-in will not work with Photoshop CS5 in 64-bit mode. It was working fine for awhile, but now it won't. I took my computer to the Apple store for them to look at it. They said that even though we are telling it to open in 32, the program is ignoring that command and opening in 64 bit, thereby causing my plug-in not to work.
View 1 Replies
View Related
Feb 29, 2012
The Type Tool has suddenly quit functioning. When I try to type with it, it gives me one HUGE vertical line on the screen, and will not adjust the font type size.
how to fix without me going through a total re-install?
View 7 Replies
View Related
Jun 7, 2013
Last night, I downloaded an update for Photoshop CS6, Windows 8, 64 bit. The update failed, and I can't get PS to run at all.How can I restore my program?
View 7 Replies
View Related
Sep 25, 2012
I've not had a problem during the past 9 months of constant operation.Part of the report indicates the following:
"Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000924da000"
which may give a clue. Of course the error report contains a volume of other info too.how to solve and get back to using the application?I'm on a MacBookPro8,2 using OS X 10.7.5.
View 2 Replies
View Related