AutoCAD .NET :: How To Develop ActiveX In Web
Aug 8, 2012i wan't to view the dwg in web with ActiveX,but i need't function of " save , print ,edit."so how i can develop the ActiveX? the .net plug can convet to web ActiveX?
View 1 Repliesi wan't to view the dwg in web with ActiveX,but i need't function of " save , print ,edit."so how i can develop the ActiveX? the .net plug can convet to web ActiveX?
View 1 RepliesWhen trying to run this code is throws a Cannot create ActiveX object
If ac IsNothingThen
ac = CreateObject("AutoCAD.Application")
Else
ac = GetObject(,"AutoCAD.Application")
EndIf
I have a question about new feature "Core Console".
Is there any ActiveX Interface for "Core Console" like "AutoCAD"?
ex.)
// this code can get AutoCAD COM Reference.
object obj = Interaction.CreateObject("AutoCAD.Application.19");
// Is there any code for "Core Console" like this?
// object obj = Interaction.CreateObject("AcCoreConsole.Application.19");
Reference: [URL] ........
I build a program to "*.dll" by Visual Basic 6.0+AutoCad2006,when it runs in Cad VBA Environment,if it gets error,I try to get start again,It shows message:"Rutime Error 429:ActiveX Component Can't Create Object",and then message "440:Automation error".But sometimes,it works all right.Thats troubled me for a long time,I can't find a reason, so can't improve my program.
View 1 Replies View Relatedwe use AutoCAD 2013 english version also in China.
Have a look to t below process
(setq app (vlax-get-acad-object))
(setq actdoc (vla-get-activedocument app))
(setq actlay (vla-get-activelayout actdoc))
(setq laynam (vlax-get-property actlay 'name))
On a Chinese computer with Windows XP, the layout name via ActiveX is displayed correctly "A3 -布局-02" on the variable laynam.
But under Windows 7 64 Bit I get this "A3 -??-02". So all ActiveX objects with AutoLisp commands do not transfer the Chinese Unicode characters, also on a system in china.
But the pure lisp command (layoutlist) for example returns always the correct characters ("A3 -布局-02")
Do I need any Chinese dll’s for ActiveX dependent language? On my test PC I installed the file autocad_2013_traditional_chinese_language_pack_win_64bit in the hope I get shared files for ActiveX but this did not bring success.
Tried retrieving an ActiveX selection set in AutoCAD 2013 (AutoCAD Architecture 64bit on Windows 7 is what I am using)?
Using a piece of LISP I got from the ADN developer site, it no longer works and gives this error....
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.
(defun c:erset (/ acApp acDoc selSets ss1)
(vl-load-com)
(setq acApp (vlax-get-acad-object))
(setq acDoc (vla-get-activeDocument acApp))
(setq selSets (vla-get-SelectionSets acDoc))
[code].....
Unfortunately my lisp is very basic.
(defun c:getSset()
(vl-load-com)
(setq ss-vba (vla-item
(vla-get-selectionsets
(vla-get-activedocument
[code]......
What about creating an AutoLisp selection set from .NET - is it possible, if so I would prefer to do that instead?
The goal is to create some objects in .NET (using activeX or managed code) and then have some way to access these objects via the command line I'm assuming they only way is using an AutoLISP selection set.
Hatch objects: Note To access this property, use the IAcadHatch2 interface.How can I access the Object.Area of an AutoCAD hatch. AutoCAD 2006 has properties that can be assigned to Fields so why can't I find the object att- area in any lisp vars?
View 7 Replies View RelatedWhen opening a parcel (xml) report created from AutoCAD Civil3D 2012, Internet Explorer 10 displays message stating "internet explorer restricted this webpage from running scripts or activex controls."
In Internet Explorer 9, we would previously just click "allow blocked content" and the General Legal Description dialogue box would work correctly, collapse, expand, show information when buttons are clicked, etc. The attached file does function properly with IE9, but not IE10.
After upgrading to IE10, the General Legal Description Dialogue box will not collapse, expand, the dropdown buttons will not function properly, and information is not displayed correctly after clicking "allow blocked content"
I am assuming there is a new security feature in IE10 that will not allow the script/activex control to function properly in the .html file that was created. I have reduced Security levels in IE10, and also changed settings under Tools > internet options > advanced > checked boxes: "allow active content from CDs to run on My Computer," "Allow active content to run in files on My Computer," and "Allow software to run or install even if the signature is invalid." and restarted computer. This did not change the issue as stated above. I have also opened the html file in IE 10 64-bit and firefox, and still get the same results.
Attached is the file I am troubleshooting with. I have changed the file extension to .txt. If you download the file, just change it back to .html extension.
Internet Explorer 10
Civil2D 2012 x64
Windows 7 Professional
HP Z200 workstation
The main develop module controls have disappeared from the develop window. How do I recover them? I'm working with Lightroom 5.3. The missing controls are the sliders for exposure, contrast, clarity, etc. I must have inadvertantly clicked something that made them disappear but nothing I've tried brings them back. I've never had this experience in the years I've been using Lightroom (since version 1.1).
View 2 Replies View RelatedI can't process any images as the basic tab has suddenly vanished.how can I get it back?
View 3 Replies View RelatedI need to develop a custom looking band for Profile View. Is it possible with .Net? Where can I find any info about how to do it?
View 1 Replies View RelatedI am trying to develop a document control system for my drawings. I am currently using AutoCAD 2011 but will soon move over to 2012. My previous employer had a great system using an excel spread sheet to input details that would then be updated into the drawings' annotated title block using a .csv file and the 'update' command to complete the job. How can I create this same system.
View 2 Replies View RelatedRegarding the image below. What is the best procedure to develop such a table automatically in Civil 3D. We are using AutoCAD Civil 3D, and the table was developed with the TABLE command. Everything else was added manually.
View 1 Replies View Related'developing' or 'unrolling' or 'finding the true shape' of a 3D surface? Something similar to Robert McNeel's Rhino3D's UnrollSrf command to flatten a surface. (Is a mesh better?)
I am drawing the frames for a wooden surfboard which has curved spars (the surface in question) which need rolling out flat to make a template. The surface is curved in the XY axis only, so in theory it should be developable.
When I open Lightroom the develope module does not appear with the other modules in the upper right hand corner. How do I corret this?
View 2 Replies View RelatedI have recently opened a LR catalog from an external hard drive connected to a new mac pro. All the 'user templates' are there and all the images in each respective collection, although I had to re-connect them as the originals had moved to a new external hard drive but... most (not all), but most of the images I had adjusted in 'Develop' have gone. Most of the images I made a virtual copy of before adjusting have reverted back to the original raw image without the adjustments.
If I have to start all over again from scratch or is there a magic 'LR Develop adjustments' file I haven't transfere to the new laptop and hard drive?
About 1 week ago possible after I loaded Adobe Exchange the develop module slowed especially in the filter and brush tools. Perfectly OK in Library and other modules and had been working perfectly before the glitch. On WIn 8.1 6GB RAM Disk 550GB 1/2 full. Raydon HD3870 card 24 inch screen Set Cache to 30GB, tried with a new small catalog. 1:1 previews. all to no luck. Even repaired LR. Photoshop OK except for slow load. Other graphics programs OK.
View 4 Replies View RelatedMy Develop tab (only) is missing in LR4. I can still access it with the shortcut D. Library, Map, Book, Slideshow, etc are all still there.
View 2 Replies View Relatedi still have the snapshots,history,and collections tab ut my presets tab is gone how do i get it back
View 1 Replies View RelatedI have no Develop settings. So why are pictures not showing a 0 on exposure, contracts, whites blacks etc.
View 2 Replies View RelatedCan add the "keywording" panel in the Develop tab?
In my workflow, I rate or tag a photo only after I've made some PP adjustment. So, my workflow would flow better if the "keywording" tab resided in the Development tab as well. Is this possible? Can you add a panel from another tab?
I subcontract a lot of event work. I'm still using an older MBP which is 32bit so I can't upgrade to LR4 yet which requires a 64bit processor.
The studio that contracts me is running LR4 and they don't seem to think that the develop settings I make in LR3.5 are transferring to LR4. Is this possible?
I'm thinking an easy work-around would be to export all the files as DNGs? This would automatically include all changes that I make wouldn't it?
when I upgraded my catalog from Lightroom 4 to Lightroom 5, it appears that not all of the my develop settings transfered for all photos. If I am to open the catalog in Lightroom 4, the appear to still exist. How can I see all the settings in Lightroom 5.
View 3 Replies View RelatedI just installed LR4. I imported one photo.
Now i want to develop that one photo. When I click on develop it says "no photo selected". How do i select the photo so i can develop it?
On both LR1.4 and LR2, the develop presets always showed along the left navigation bar (antique photo, etc.). I don't use them often, but I like to have them handy. A couple months ago they disappeared from LR2 navigation bar and I just downloaded LR3 and the develop presets are in a named folder but I can't figure out how to get them to show up on the left navigation bar again.
View 4 Replies View RelatedHow can I found photos with manual lens correction (Lens Correction/Transform) or cointrain crop (Lens Correction/Transform/Constraint Cop) in LR 4.x ? I tried to do this with Smart Collection but I can't.
View 3 Replies View RelatedThis problem started when I updated to Lightroom 3.4 on my new Windows 7 Toshiba Portege R700 laptop. I did not experience it with prior revs of Lightroom 3 on the same laptop. Here are the symptoms:
When I enter Develop, then some of my images stretch upwards when displayed on a second large monitor if the image is as wide as possible, and stretch sideways (inwards) on my laptop monitor if the image is already as tall as the laptop monitor allows. in either case, the image is distorted so that it is appears taller and thinner. When I exit back to Library mode then the image is normal in appearance again.Some images do the opposite and stretch downwards!The files are all RAW. It appears to be a problem only with Olympus RAW (.orf) files and not with Canon RAW (cr2). The same thing happens when I disconnect the secondary display.I can do this multiple times.I took an image, made a virtual copy, reset it and the same thing still happens.There is another similar post where the solution was to start with a fresh preview file. I tried that and it did not work (I closed lightroom, renamed the preview file, and then openned Lightroom again forcing it to create a fresh preview file.One some images, I find that my mask has shifted over. For example, I have an image where I desaturate everything apart from the main figure. Now, the main figure is partially desaturated, as if the mask has moved sideways when I export the image.
I would like to be able to sort a set of photos by those that have Develop Adjustments and those that do not. For now, I don't want to sort by the type of adjustment.....just whether or not an image has one.
View 3 Replies View RelatedI am trying out the 30 day LR 5 trial to see if I would like to upgrade. For some reason my Develop Module contains the same tools as my older version, though I know I shouldn't even see a "brightness" tool.How do I fix this and get the new tools so I can continue my 30 day trial?
View 1 Replies View RelatedCan I export LR Raw Develop Presets to PS?
View 2 Replies View RelatedNot all the time, but there are times when i am working on an image, generally after I've been working on it in Photoshop. Once it comes back into light room and I want to do just about anything to it everything goes dark and comes back with the adjustment I just made. Does this when I move the slider or make any adjustment to the image whatsoever.
View 1 Replies View Related