AutoCAD .NET :: External Access To DST File

Aug 25, 2011

I have previously written an assembly (netload) application for our document management system for our office. This assembly loaded a sheet set file (dst) and read / manipulated / saved and exported data. It was very slow.

I was wondering before I progress a reimplementation if it is possible to have external application access to the dst file using the various dll files and lib files (autodesk shared / application root and object arx 2010 - 2012), and if so, which ones.

I have tried to use the same references I used for my 2010 / 2012 netload assembly but I am receiving errors like "FileNotFoundException was unhandled" I belive I have traced this to the issue that I need more or specific references in addition to:

acdbmgd.dll (.net)
acmgd.dll (.net)
acsmcomponents18 1.0 type library (com)
autodesk.autocad.interop.common (com)

the actual error message when I open a dst file is:
 
System.IO.FileNotFoundException was unhandled Message=Retrieving the COM class factory for component with CLSID {DA236FEC-D990-4825-95FA-651AF4C2B407} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E). Source=mscorlib StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& [code]........

And it is occurring here:
 
Imports Autodesk.AutoCAD.ApplicationServicesImports Autodesk.AutoCAD.EditorInputImports Autodesk.AutoCAD.RuntimeImports Autodesk.AutoCAD.WindowsImports ACSMCOMPONENTS18LibImports System.Windows.FormsImports SystemPublic Class Form1 Private Sub
[code].......

View 9 Replies


ADVERTISEMENT

AutoCAD .NET :: Getting Access To Specific Instance From C# External Application

Jul 29, 2013

I'm struggling with accessing multiple AutoCAD 2007 instances via COM. I have tried retrieving objects from ROT using monikers, but only succeeded in getting AcadDocument objects only. Is there a reliable way to achieve my goal?

View 2 Replies View Related

Photoshop Elements :: Access Catalog On External Hard Disc From Both Mac And Windows PC?

Nov 11, 2013

How can the directories and path be named, that catalog can access the same picture files.

View 1 Replies View Related

Photoshop Elements :: 11 - Saving To External Drive / Write Access Not Granted?

Apr 17, 2013

I am using PSE 11 on a macbook pro and am experiencing difficulty saving an edited file to an external disc drive. I keep getting an error message 'Could not save as “2011-08-04_0_edited-1.jpg” because write access was not granted.'

View 2 Replies View Related

Photoshop :: Allow Write Access To Existing Photo Images On WD External Hard Drive?

Apr 6, 2013

I recently switched from Windows Vista to and iMac and I'm trying to edit photos in Photoshop CS6 and it won't let me make changes or edits to the photos stating that it can't allow me "write access" to save the changes? Where is the lock up? Is it in the external hard drive settings? In the camera? In the files themselves?

View 3 Replies View Related

AutoCAD Inventor :: External Referencing Of Part File By Assembly File

Dec 13, 2013

Describe the external referencing of a part file by an assembly file? I keep getting confused between part file and an assembly file.

View 2 Replies View Related

AutoCAD VB :: Extracting File Type Or Extension Of External Reference File?

Dec 2, 2013

Is their a way to know or extract the file type or file extension of an External Reference file?

View 3 Replies View Related

AutoCAD Map 3D :: Save Changes In Access File?

Jan 19, 2012

I would like to know if it is possible to save changes directly in the source data base file (Access) from Auto Cad Map.

I have a polyline draw (Footpath network). I have converted this draw to shapefile, and then I connect it to the Access Data Base via ODBC with a join.

The problem is that this shapefile is not definitive, and it is probably that some people will need to edit and create new features, and I don´t know how to do it.

Which would be the best option to do this? It would be better if I work with the dwg drawings and the data sources?.

View 3 Replies View Related

AutoCAD Inventor :: How To Access File Embedded In IDW Via VBA

Sep 3, 2012

Is there any way you can access an AutoCAD file embedded in an IDW by using VBA?I have an IDW with about 100 sheets; it would like to control which file is embedded in each of the sheets.

The best would be to use linked files but I do not know how to make certain files visible on certain sheets.

View 8 Replies View Related

AutoCAD Inventor :: ILogic - Using External VB-File With Dynamic Name

Nov 2, 2011

I use Inventor 2010 with the iLogic Extension. My question is probably more VB.NEt-related than Inventor-related.

For my parts I usually have a main *.ipt that can receive input parameters and does some calculating with them. Then there are several 'slave' *.ipt that use the calculated parameters of the main.ipt. I would like to keep that structure. Using iLogic the slave.ipt's do some calculation, too, based on an external *.Vb-File. I load that file into the rules of the slave.ipts by using (for example) AddVbFile "External.Vb".

My question is if it is in any way possible to have it so that the name External.Vb can be dynamic? I tried using a new iLogic String parameter and storing the name of the external VB-File there so that I would have a Parameter Name = "External.Vb" and then use AddVbFile Name. But that sadly didn't work at all. My External.Vb is supposed to be unique for every copy of my assembly and having to write the correct name into the rule by hand is tedious.

View 2 Replies View Related

AutoCad :: Export DWG File To STK With External Referenced Object?

Dec 27, 2013

I am trying to export the following .dwg file to .stl format but the object that has been externally referenced does not make into the .stl file.

here are the files...

complete turret.dwgkinect model.dwg

View 1 Replies View Related

AutoCAD Architecture :: File Access Timeout Setting

Jul 26, 2013

I have an international group that is using a VPN tunnel to access our servers to work on .dwg files. Every so often, ACAD "seems" to crash however, it is really or appears to be timing out on accessing file information. Of course, this depends on bandwidth usage and is intermittent because of this reason.

How to change the file request/access timeout in ACAD?

I'm assuming it's a registry hack.

Info: Our international group is using AutoCAD Architecture 2014 on Windows 7 64bit computers.

View 1 Replies View Related

AutoCAD 2010 :: How To Make External Reference File (DXF) Clearer

Jan 16, 2013

I had a DXF file with an external reference file inside, when showing in AutoCAD 2012, the external file appeared very 'dull' and blurry. But when I look at the same file in the new AutoCAD 2013, it shows very clear.. this puzzles me, and our clients are complaining about this quite often. 

Is there a setting I can change in 2012 version to make it (external file) clearer? The right hand side shows the external file (table and words) much better than the left.

View 1 Replies View Related

AutoCAD Civil 3D :: File Contains External References Function Fails

Jun 27, 2013

I'm trying to adjust the properties of some block objects in Mspace. When the file contains external references the function fails, when it has none it works perfectly.

Dim modelSpace As BlockTableRecord = DirectCast(M_trans.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(db), OpenMode.ForRead), BlockTableRecord)
                For Each id As ObjectId In modelSpace
                    Dim ent As Autodesk.AutoCAD.DatabaseServices.Entity = DirectCast(M_trans.GetObject(id, OpenMode.ForWrite), Autodesk.AutoCAD.DatabaseServices.Entity)
                    ent.Color = Color.FromColorIndex(ColorMethod.ByLayer, 256)
                  
Using the above to get all objectid's and filter through them then using:

  If TypeOf ent Is BlockReference Then
                            Dim br As BlockReference = DirectCast(ent, BlockReference)
                            Dim btr As BlockTableRecord = DirectCast(M_trans.GetObject(br.BlockTableRecord, OpenMode.ForRead), BlockTableRecord)
                            If Not btr.IsFromExternalReference Then

View 6 Replies View Related

AutoCAD .NET :: Modifying Windows Controls From External Data File

Dec 11, 2011

VB.NET loses me again.

In my VBA program I had a function to read/write an external data file to retain and recall user settings on a form.

The nature of the function was quite simple:

For Each oObject as Control in Me.Controls
If TypeOf oObject is ComboBox
Do my thing
ElseIf etc.
......
end if
Next

This code is almost identical in my VB.NET references, but when I try to run it I find the "Controls.Count" value for the form is only 1 (that object is a Tab control) thus I'm unable to access the individual controls with this code.

There is also a "ControlCollection" object, but this appears as "Nothing". Where should I go from here?

View 2 Replies View Related

AutoCAD Inventor :: Call Form From External File In ILogic

Mar 26, 2012

I'm trying to find a way to call a form in a skeleton part file from within a parent assembly file.

I can open the form from the skeleton part, then leave it open and update values even while the skeleton part is inactive or even closed.  But I can't find out how to call it from the assembly file.  Is this possible?  I currently have to open the skeleton just to call up the form.

I can reference values or even add them in another form, but I am not allowed to change them in an assembly form, because they are (linked) reference parameters.

I have considered several workarounds, but this is how I really want it to work.  I'm just not that familiar with the code to know if there's a way around.  The code snippets only allow opening a form from the current document as far as I can see.  I don't really want a global from because I'm only changing parameters in one file, not all.

View 1 Replies View Related

AutoCAD Inventor :: Import IProperties Value From External Excel File

Dec 14, 2011

i have made a iLogic Module who, whit an external rules, import the iProperties value from an external exel file.The exel file is connected from SQL with the our managerial software.This in the external rule:

i = GoExcel.FindRow("Z:DISEGNI_INVENTORDescrizioni.xls", "Descrizioni", "Cod.Art.", "=", iProperties.Value ("Project", "Part Number"))iProperties.Value ("Project", "Description") = GoExcel.CurrentRowValue("Descr. Articolo Princ.")'iProperties.Value("Project", "Project")
[Code] .....

 It's work fine but i have same question. There is some string to refresh an iLogic Module? When i push the ruel button the rule add the custom value in iProperties, but there are disabled, i have close the module an reopen it for correct display the value of the iProperties.

this module work with single parts. Can I do an rule who do the same thing of my string but in one assembly, do this for every parts of assembly automaticly??

View 7 Replies View Related

AutoCAD Inventor :: Add Template File To Quick Access Toolbar

Oct 17, 2012

I've been very dissapointed with the 'new file' dialog box in inventor 2013 as it takes far too long to open and navigate. I was wondering if there is a way to add a link to a few drawing template files either to the ribbon or the quick access tool bar so i can avoid using the 'new file' dialog box.

View 1 Replies View Related

AutoCAD 2013 :: Access Solid From Drawing File Using Object ARX

Jun 7, 2012

I want to access the solid opened in AutoCAD from dwg file using C++ and Object ARX.

View 3 Replies View Related

AutoCAD Inventor :: Internet Access Is Required To Access

Apr 26, 2012

Just loaded 2013. Of course right away I get an error. "Internet access is required to access the Help" Well as you can see I have internet access.

View 4 Replies View Related

AutoCAD Inventor :: How To Access File Naming Prefix In Documents Settings

Oct 9, 2012

We are attempting to access the file naming  prefix in documents settings but i am unable to start code or find away to get where i need.

We have a multi solid bodie part that changes on via suppression to different styles of profile we then need the file naming prefix to chage depending on what key have selected .

ie Parameter = Style with 4 Multi selctions 1,2,3,4

depending on selection picked we then need to change the Solid Bodies Prefix in document settings..

Example :: If style = 1 then Solid Bodies Prefix = Dave

View 3 Replies View Related

AutoCAD LT :: Access A File In Support Folder Which Doesn't Exist On System

May 30, 2011

I believe a dwg I am trying to access is affected by the acad.vlx virus as an alert comes up to check autodesk for solution (ID: TS13717811) however the published solution doesn't seem to work for the latest version of AutoCAD LT 2012 as it asks me to access a file in the support folder which doesn't exist on my system.

View 7 Replies View Related

AutoCAD .NET :: Add Single Resource Folder In Bundle And To XML File To Access Files In DLL

Aug 25, 2011

I'm trying to get the autoloader working. [URL] .....

Looks like it's a 'fairly' new addition and dead simple but..

All I need to do is add a single resource folder in the bundle and to the xml file to be able to access the files in the dll.

How to modify the xml file and refer to this folder in the dll?
 
<?xml version="1.0" encoding="utf-8" ?><ApplicationPackage SchemaVersion="1.0" > <Components> <ComponentEntry AppName="DOTNETTEST2" ModuleName="./Contents/AutoloaderDotNetSample2.dll" LoadOnCommandInvocation="True" > <Commands GroupName="DevDays2010"> <Command Global="DOTNETTEST2" Local="DOTNETTEST2" /> </Commands> </ComponentEntry> </Components></ApplicationPackage>

 I can't remember where I got the resource files from.

Here is the DevCast for creating the installer. [URL] ....

Also is there a way to change the path depending on whether or not you are debugging?

In VB6 I used a function

Public Function IsIDE() As Boolean 'Returns boolean value of True if not compiled IsIDE = (App.LogMode = 0)End Function

View 6 Replies View Related

AutoCAD Civil 3D :: Access File / Edit / View / Insert / Format In Menu Bar

Jun 27, 2011

I have just installed C3D 2012 and when I show the menu bar, the only choice is Express which used to be the last tool in previous versions.  What happened to File - Edit - View - Insert - Format, etc in the menu bar?  I need to access them.

View 4 Replies View Related

AutoCad :: DWG File Properties To Excel Or Access To Create Drawing List / Register

Jun 3, 2011

I am looking for a way to use the .dwg file properties of a drawing to generate an updateable drawing list/register. One that will update automatically as the file properties are updated. I have already created a title block that uses text fields to display custom properties of the file on my title block, such as the job no., drawing no. etc.

I have searched the web for answers, came across this site, joined and searched through it... There are a number of threads that 'sorta' deal with my needs but alway tend to digress more towards the "poster's" needs and away from mine. I noticed that they all talk about Lisp Routines and I have no knowledge of using them. Is that the only way to go or can I use another route? Another one was the Sheet Set Manager but I don't think that this is exactly what I am looking for...

View 1 Replies View Related

AutoCAD Architecture :: Editing Property Sets From External Objects - Removal Of File Lock

Sep 4, 2012

I've got a problem following playing around (Typical, isn't it?). Architecture 2011 allows editing property sets from external objects through the host drawing (i.e. change a room number of a property set attached to a space xref'ed in from another construct). This obviously has to put an editing lock onto the xref to prevent data loss in case somebody else works on the xref in the meantime. This editing lock is removed when I close my host drawing. However, the lock is immediately restored when I re-open the host drawing.

How can I release the xref file lock again after editing the property sets in my host drawing?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Using Vl-string-subst To Do A Find And Replace In External File

Dec 11, 2012

how I could open an external .CSV file which is assigned to a variable called INFOFILE and scan line by line and replace each instance of the string "WIDGETTE" with the string "WIDGET"? I assume the function vl-string-subst woud be involved.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Open File To Write On External Drive - Bad Argument Type

Jun 5, 2012

I'm trying to open a file to write to on my external drive, I get this message "bad argument type: stringp nil".

View 8 Replies View Related

Photoshop :: File Access On USB

Jul 9, 2013

I am trying to Photoshop files from a client on USB, but when I make changes and try to save them I get the message "write access not granted". How can I overcome this?

View 4 Replies View Related

Edge Animate CC :: External CSS File?

Apr 5, 2014

Do I have to write a CSS rule for every symbol and element in a presentation or can I just specify a general rule for the whole thing?For example, how can I specify that all images should have a red border, or all links should change color on hover?
 
Shouldn't I be able to create a separate CSS file as in Dreamweaver and just attach it?

View 3 Replies View Related

Photoshop :: How To Access CSF File In Colorsync

Oct 31, 2012

I entered my printer's specified color settings and saved them as a csf file in the colorsync folder. Now when I try to convert to or proof as these settings they don't show up in the custom profiles drop-down and when I hit the load button and navigate to the colorsync folder the csf file is greyed-out and I can't choose it.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved