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
ADVERTISEMENT
Apr 19, 2012
I am trying to link my extracted data from blocks with attributes to an extenal source so that the table I create and place into the drawing already has the formulas I need to due the required calculations. But every time I create and place the table the formulas are not in the table. I include the columes that contain the data but it doesn't seem to be working.
View 2 Replies
View Related
Jul 31, 2012
I'm developing a routine that uses a windows form to gather data from the user. For a lot of this I need info for the Left side & the Right side. I have pretty much finished writing the code to take care of the Right side. I have 40 properties now all with "Right" in their names in anticipation of needing corresponding "Left" ones. I have numerous textboxes, checkboxes, & radio buttons on the form along with various input validation methods used to set these 40 properties.
I could just copy all of this code & replace "Right" with "Left", but there are about 500 lines of code (hard to tell since I use a lot of white space), and that seems rather inefficient, especially if something needs to change.
I'm starting to think that maybe I should develop this into one custom control that could be used for both sides. Any alternative ways of dealing 40 right properties & 40 left properties and all that goes behind making those properties work.
View 1 Replies
View Related
Oct 12, 2006
Where the heck do I find the offset which controls the distance between the profile grid and my profile data band?
I have compared settings between ones that look the way I want and I'm just not seeing it.
(The attached doc shows you what I'm up to)
View 9 Replies
View Related
Sep 24, 2013
How I can attach some external data to an AutoCAD object. I found on the internet the object data solution for AutoCAD MAP 3D, but my boss meant, I should find a possibility to import data into AutoCAD without MAP 3D.
View 2 Replies
View Related
Jul 14, 2011
For some reason, I can't seem to find all the right steps in the right order to accomplish this. Maybe what I'm trying to do isn't possible.
Using either Map3D 2011 or Map3D 2007:
I have a database (SQL Server) and a drawing (.DWG) with object data fields. For simplicity, lets say the database field names match the object data field names. The key field in the object data is already filled in. I would like to link to the database so the rest of the object data fields are filled from the database. Is this possible? If so, how? The closest I have gotten so far is creating a link template and using mapod2ase, but that creates a separate set of Link Template fields instead of filling in the Object Data fields.
View 5 Replies
View Related
Oct 7, 2011
I have been attempting to create some of my own line types by modifying the coding in the acadiso.lin file. I have been relatively successful in creating new line types but it is more by trial and error and wanted to understand the coding better.
View 2 Replies
View Related
Aug 20, 2013
Here is the background.
A "MODEL" drawing exists that contains only the surface model. The surface model is data referenced into a "LABEL" drawing that contains the surface style (contours), contour labels, and spot elevations. This "LABEL" drawing is xref-ed into a "SHEET" drawing that contains the title block and some other xrefs containing the proposed layout, ex cond, etc..
When I open the "LABELS" drawing, the data reference works. My problem is that when I open the "SHEET" drawing, the contour labels and spot elevations cannot find the referenced surface and just contain a string of 20 or so characters.
I already have a workaround. If I open the "SHEET" drawing, then open the "LABELS" drawing and save it, I can reload the "LABELS" drawing within the "SHEET" drawing and the problem is solved.
HOWEVER, I have a bunch of sheets that I want to publish, and publish does not work when you have to open the file and re-reference everything. Is there anyway to get this reference working correctly so that I do not have to open multiple drawings to get my data correct?
FYI, I have already tried resetting my data shortcuts project folder, validating data shortcuts, etc. in the "LABELS" and "SHEET" drawings.
Civil 3D 2012, SP 2.1
View 2 Replies
View Related
Jan 8, 2014
As you can see in the attached print screen TheProblen.png I need to modify the XRecord within a file header sub directories.
I have managed to loop through the file directories and sub-directories and even extracted the ResultBuffer of the correct sub-directory.
I now have a ResultBuffer/XRecord that has an array of typed values in it and I need to modify one of the typed values. How do I do it?
View 1 Replies
View Related
Aug 9, 2013
I am reasonably experienced in coding in VBA but cannot find any references as to how to achieve the above within VBA so am now turning to LISP to see if I can achieve it in that language.
Basically I want to be able to create multiple instances of an attributed block using an external source, e.g. a spreadsheet to provide data for the attributes.
I'm not even sure if this is possible.
I can find lots of references for extracting attribute date to a spreadsheet but I want to go the other way!
View 2 Replies
View Related
Apr 24, 2012
I have a master shape file that contains parcel ID, owner, tax info., etc. I have another file ( access 2003 -open to better file format suggestions-) which contains parcel ID and a "yes" or " no" entry for whether or not the parcel needs a new water meter. All I want to do is add the water meter information into the other shape file. This would create one shape file with one table with all the information that I need.
Ultimately I will use the information to do a map query and find out spatially where i need new water meters.
Right now i have the master shape file connected though the “Connect to Data” feature. I also have the new data added to the drawing though the Data sources------>attach under the “Map Explorer” Task pane. I attached access file (ver. 2003 .mdb) which has two columns “Parcel ID” and “Meter”.
I right click on the shape file under the display manager and select”Create a Join;” however my water meter table is not listed as an option. Will this not work?
Plan B - I tried to Create and connect to the access file as an ODBC connection. Followed this guy’s directions to a T [URL]. But when i populate my table under the fdo connection the column headings exist ( “parcel ID” and “Meter”) but the actual data is missing. Am I missing something important?
Note: I am running c3d 2012 on a Win 7 64 Bit machine. I also removed office 32 bit apps and installed 64 bit apps to see if that would solve the problem. No go.
View 3 Replies
View Related
Feb 26, 2013
I was working with a client on a move of folders from an internal drive (Mac OSX) to an external drive.He created a dummy folder, via LR, on the external drive so that he could drag and drop from the internal drive to the external.
The folder was created, but the hard drive itself now appears as a FOLDER, not as a drive, under /volumes.
He renamed the drive, from within LR, and all hell broke lose. The name changed in LR, but not on the desktop. We couldn't rename on the desktop as the two names conflicted I'm guessing. We ended up shutting everything down, full reboot and the drive would not unmount. We forced that, closed down and restrted everything. Still had the naming conflict. LR didn't see the folder, so we rnamed in LR and got everything aligned. Or so it seemed.
Dragging folders to the external drive appeared to work OK, but one folder was inadvertently dropped on the folder above the target folder. It was dragged and dropped to the correct location, but then showed 0 images. A check with finder revelaed that the files were in the new location on disk, but LR has lost them.
Today, having moved all files (via D&D) to the new drive, he is trying to reorganize folder, but every D&D on the drive results in the above behavior.
View 2 Replies
View Related
Mar 12, 2013
I have my laptop with LR4, I'm using an external HDD to store the RAW data from my camera. This HDD is fed by an external power line so it's not as portable (WD My Book3.5")
So the setup is that LR4 is linked to the external HDD. Whenever I download photos from my CF card, I tell LR4 to copy the images to the external HDD because I don't want my laptop to be filled with RAW. I only export the JPG's to my laptop.
Now here is the tricky part. When I travel, I take my laptop and my lighter external HDD (WD My passport 2.5") because it's portable and needs only USB power.
While traveling I import my photos using LR4 to the secondary HDD (my passport) and I edit them. When I get back home, I would like to "merge" my edited images from the portable HDD (my passport) to the primary HDD (my book).
So essentially I would like to streamline my work as if I'm managing one catalogue on two separate HDD.
View 3 Replies
View Related
Sep 7, 2013
I noticed that importing files from external editor such as photivo or rawtherapee results in a loss/deletion of exif data...
View 14 Replies
View Related
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
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
Feb 3, 2014
Automated AI so much so that it can read instructions from an external source like xml or txt and automatically creates files and folders.
For example we have something like this:
File1
Hello
Font: Myriad
Size: 22
Colour: Pantone 254C
Image 1.jpg (link)
Source: Image1.png (link) clipart1.eps (link)
----------
File2
and so on.
I want AI CS5 to:
1. create an eps File1, create a folder named File1, put File1.eps in it
2. type the text Hello, apply Myriad 22pt and PMS 254 to it, centre it to the artboard
3. Place all jpegs, pngs, eps source files on the artboard and embed them.
4. Save the file as eps legacy version 10, close the file and move to the next file.
View 1 Replies
View Related
Jun 28, 2013
We were updating the wall finish schedule in our template. Now using the template, if we create a new room, it's number is 3. Where is the setting that controls what the next available room number is?
View 2 Replies
View Related
Jul 4, 2013
Can you open and save PSE files on a windows pc and mac book that are on an external HD?
View 1 Replies
View Related
Dec 8, 2013
Computer 1's hard drive crash and all programs and data were recovered professionally and sent to me on an External Hard Drive. Computer 1 was on Windows 7. I can fun the program off of the External Hard drive fine, when connected to my my new Computer. I click on the .exe file and it pulls up the catalogue as it should. All off of the recovery drive.
The new Computer, is on Windows 8.1. How do I get the Adobe Catalogues moved/copied to the new Computer?
I redownload Adobe 10 onto my new 8.1 Computer from the Adobe website. Using the new download, I was able to open the Catalogue on the External Drive (F). Cannot find a way to "relocate" the Catalogue to the new computer. The pictures have already been copied to the new computer.
View 1 Replies
View Related
Nov 11, 2013
How can the directories and path be named, that catalog can access the same picture files.
View 1 Replies
View Related
Mar 1, 2014
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?
View 9 Replies
View Related
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
View Related
Oct 25, 2012
I have upgraded to ACA 2013 and I have had nothing but problems and I want to know if I am alone on this. I have uploaded AEC Section Display and Tag Scale Hotfix, URL....
AutoCAD Architecture 2013 Service Pack 1, URL....
AutoCAD Architecture 2013 & AutoCAD MEP 2013 Content Browser Migration Hotfix. URL....
ACA2013 was released and I have had it on the desk for some time and finally I got the nerve to load the upgrade. This I did in accordance with the instructions. The upgrade went well.
Additional problems with my working files involved, the file will lose data while working in the file, the program will do strange things to the file like I would lose data while in layout tab within a viewport and the data would still be present in the model tab. I have lost printer setup files only to reopen the drawing and find these have returned.I have lost layout tabs completely. I would reload another menu and they would return. I was speaking to another person comparing Autocads and his had the layout tabs and mine did not.I have zoom scaling problems within the layout viewport. I use to be able to zoom, scale, 1/20xp for 1:20 scale and it would not recognise the command.I was informed via Autodesk to load the service pack Autocad_2013_sp1.14_64, this would not work then I was informed to load the service pack Autocad Architecture _2013_sp1_64 which it did successfully. Still had problems with ACA2013. have situations where the shell command will not work ie punch a hole within the object selected.I have changed from the working model tab to layout tab and back to model tab only to have the view change for no reason ie it will go into (+)(custom view)(wire frame) without selecting it.I have lost data, (part of the actual drawing) within my working drawing simply by using the boeleon subtract command.I have situation when you use the push pull command and nothing happens and then you reopen ACA afresh and try it again and this time it will work.I have email Autodesk in the US and it got alll TO HARD for them and they have abandoned me.
View 9 Replies
View Related
Apr 9, 2013
Any easy way to change the letter (D:) or the path of a disk containing photos without having to do for each folder (> 500) a manual search of the new path ?
View 4 Replies
View Related
May 21, 2013
How can I move my Lightroom 4 catalog (data, not photos) from my local drive to an external drive? My local drive is running out of space.
View 3 Replies
View Related
Feb 10, 2014
PSE11 transferred data from hard drive to external drive how do i direct PSE11 to new drive/catalog
View 2 Replies
View Related
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
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
Apr 18, 2012
I have recently upgraded from AutoCAD 2008 to 2001. Now when opening a file from windows explorer (desktop vs the AutoCAD browser) and AutoCAD is not running. AutoCAD will startup and open a new drawing as well as bring up the dialog box for finding a file to open, which I cancel, THEN open the drawing that I have selected. I have not seen this before and am wondering what variable or option is causing to happen. I am also seeing two icons for the same drawing file in the Windows task bar.
View 2 Replies
View Related
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