AutoCAD .NET :: Custom Controls / Other Ways Of Handling Similar Data
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
ADVERTISEMENT
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
Apr 17, 2012
I want my application to include a useful Ribbon interface that displays custom properties, read from my custom objects.
I have found the existing Ribbon Control Elements, but I want to use custom controls, not the pre-canned controls.
Is there a generic programmable input box for the AutoCAD Ribbon?
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
Apr 10, 2013
say you make some parcels in your project with custom data fields like: id_no, permit_no, acres_served etc. you attach an agency provided shape file via an fdo connection that has many fields of information like above.
when you right click on your parcel and do parcel properties you get a tab that lets you input the custom parcel data.
lets say you print an fdo map label showing, say, the id_no, provided in the shape file. Then in your custom parcel properties for id_no you type that in.
is there a way to make an expression to put in the other custom parcel properties that will read, say, the permit_no(id_no) from the fdo like and put that information in the custom parcel property field?
View 4 Replies
View Related
Jun 26, 2013
In LR 3 I defined custom sort order in Library mode at the bottom of window. Where and how can I do this in LR 5?
View 1 Replies
View Related
Feb 6, 2013
How to compare two similar solid model and found where its differetiate is, and how to compare two similar drawing let say rev.1 to rev.2 and found where its differentiate is?
View 1 Replies
View Related
Jan 9, 2012
I just had to rebuild a large toolbar after upgrading to Autocad 2011. I had to scroll through the old version's MNU file to locate and extract the information. Then I had to copy/paste the information from the text to the new toolbar. Luckily I had the Icon bitmaps saved and didn't have to recreate them.
Is there a way to export the code from a custom toolbar that can then be imported into another version or copy of Autocad?
View 5 Replies
View Related
Oct 31, 2012
This was my first go-around attempting to create a custom tool palette for our office. Everything was fine, the palette worked well. All of the block libraries and associated files were initially saved on my local drive. I then moved the files and folders out on the network, repathed all the items on the palette to the new area but for whatever reason when I insert blocks that have attribute data attached It is not recognizing it anymore. I am just trying to get this piece straightened out before I export the palette itself out to the network to share.
View 1 Replies
View Related
Apr 3, 2012
Having issues with data shortcutting custom built structure parts? I built a very simple part that has no dimensions and is for plan appearane only (it is a just a rip rap outfall). The part seems to work perfectly in my design file, appearing exactly as I desired with automatic labeling. However, when I data shortcut the pipe network into the plan presentation file, all default pipes and structures are brought in except for the custom built rip rap outfall.
I have tried to delete and reload the data shortcut, changed the part properties, and made sure the parts lists and styles are the same in both drawing files. If I swap the custom part out (in the design file) for a default part, the default part is suddenly displayed in my plan presentation file after synchronizing. It is as if the data shortcut doesn't recognize the custom part, even though it is in the network parts list?
Civil 3D 2010 & 2012
HP Z400 Workstation
Intel(R) Xeon(R) CPU W3550 @ 3.07 GHz
6GB of RAM
64-bit OS
NVIDIA Quadro 2000 running driver version 8.17.12.7105
Win 7 Professional
View 2 Replies
View Related
Jan 9, 2011
I use rhino 3d for a lot of my modeling and just recently been exploring 3ds max 2011, and I really like the mirror command in rhino because I can just click and mirror my object across a grid line, however in 3ds max the modifier is much more difficult to use in my opinion. If their are any former rhino users in the Area. way of using the mirror modifier to simulate the Rhino mirror command or even suggest another modifier that would preform in a similar manner as in rhino.
View 1 Replies
View Related
Jun 1, 2012
"best" ( or favourite) ways of resizing an image? I'm only talking about changing the file size in JPG to a smaller or larger one for saving, We tried something yesterday, which sort of worked, but I decided the best solution was just to re-scan the original image again, which came out a lot smaller (ks), even though both methods were set to achieve 200 dpi. I think that was under "scale image". (I have been used to using a method called "resample" in another program, where you can change the dpi or inches/mm and off it goes.)
View 1 Replies
View Related
May 28, 2013
What are the best ways to share photos from iPhoto?
View 2 Replies
View Related
Jul 9, 2013
PHOTOSHOP CS6 V.13.0.1 x64
MAC OSX 10.8.4
I’m Photoshop self-taught. Most of the work I do on Photoshop involves placing elements (objects, people, animals, etc.) into regular and stock photos. Down below is a list of the tools and filters I use to adjust the element(s) so they look like they are a real part of the picture.I can get real close. Real close. But I can’t quite bring it home. I feel there’s some tool(s) or trick(s) or filter(s) I’m not using. I can’t find anything online or in Photoshop books or manuals.
QUICK SELECT TOOL > REFINE EDGE
IMAGE > ADJUSTMENTS >
BRIGHTNESS/CONTRAST
LEVELS
[code]...
View 3 Replies
View Related
Jul 19, 2012
I have difficulties in handling API AutoCAD.Net using Dynamic Blocks. I'm trying to modify the configuration of a given dynamic block. The goal is to access the property Table1 Block Dynamic Block and change its value to an existing one.You can navigate between the records from Table1 Block? With this code below I have managed to navigate between the dynamic properties of the block and its values, but I can not make the property value set in the block table1. I tried an example of the link: URL.....however it still fails.
[CommandMethod("getprop")]static public void GetProps(){ Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor; PromptEntityOptions peo = new PromptEntityOptions("Selecione o Bloco: "); peo.SetRejectMessage("
[code]....
View 9 Replies
View Related
Sep 30, 2012
I am trying to create one pluggin which can handle inplace edit [refedit]. I can open in place edit window by invoking 'REFEDIT' command from my pluggin. But i need to get the selected document path for in place edit.
View 5 Replies
View Related
Aug 16, 2013
I was working on a Photoshop CS4 file last night that was created in CS4 and has only been opened on this machine in CS4. I saved the file and closed Photoshop. When I open the file today, all my layers are gone, flattened into one Background layer, and the image looks like colored TV static. On top of that, the separate, older version of this file with a different name (created earlier in the week on the same machine in the same CS4) will not open at all - I get the error message, "Could not complete your request because the file is empty" and the file size has mysteriously shrunk to 76 KB from 20+ MB. What happened?! I'm guessing these files are corrupted beyond recovery, but why and how did this happen?
View 5 Replies
View Related
Jun 10, 2011
i have got 2 ways to create foliage for architectural rendering. One of them is using proxies and the other is using particle system.I have got another idea.
Use position restricted one polygonal plane with opacity mapped plane.Scatter.Look at constraint with camera.
View 2 Replies
View Related
Jun 24, 2013
I'd like to handle SelectEvents as a user selects edges for a filleting operation using the standard fillet creation dialog box. I'm unsure of how to access the InteractionEvents object that is created automatically by Inventor when the user opens the fillet creation window.
I know that there are ways to start my own interactive selection process via CommandManager.CreateInteractionEvents(), but I would like to tap into the existing selection workflow that's provided by the fillet creation window.
View 1 Replies
View Related
Apr 27, 2011
I covered how to transform a image in a variety of ways using different tools and effects and dockers.I felt that I should share some of her talent with her permission.
View 14 Replies
View Related
Nov 11, 2013
I've been working on a custom polyline object, and I've got it functioning!!Having said that, I plan to run its creation around picking a point for bounary selection.
(Other than trying to step through every vertecies) is there a technique I can thow the polyline data from a traceboundary result into my custom object? I've been trying to add the polyline from traceboundary to my object BEFORE it's added to the transaction by the way...I assume that's right, since I want to put it's data in my custom object then add my custom object to the transaction instead.
View 3 Replies
View Related
Dec 14, 2011
By default, the PDF print drivers we use (Bluebeam, PDF 995) set True Type text handling to be "as graphics" rather than "as text" (see below), which makes for some ugly text. I know I can make this change and save as a .PC3 file, but all our page setups for sheets & templates in the office all reference these default drivers, so it would be preferable to change the way the default driver works if possible. Is the default plotter configuration editable?
View 3 Replies
View Related
Oct 2, 2012
As far as I can tell, there appear to be no significant changes in how color profiles and overall color management is handled in PSCS6 over CS5.x. Correct?
View 1 Replies
View Related
Sep 7, 2005
Running OSX and CS2. Having trouble with file handling. I can take several hundred photographs a day in my job. Sometimes each image can require fine tuning.
This used to be fairly simple, in that when I activate an icon the image appeared. I would complete the adjustments and move onto the next image in the folder. "This is where the trouble begins". With the new system and CS2 everytime I go back to the holding folder, the previous selection has been ignored and the first file in the folder is the highlighted choice, despite the fact I might be on image 90. The program automatically defaults back to image one.
This is very frustrating in that I now have to keep a written track of the file number just completed so that I can scroll down to the next required file.
This cannot be the way that CS2 handles multiple files.
View 1 Replies
View Related
Feb 28, 2012
When managing images, I am found some difficulties on handling tags.
The main problem is that PSP is creating tags automatically to all images I have. It is especially undesirable because a plenty of images come from internet, fotolia etc and have tags I don't want. So, my "desirable" tags are mixing with the "undesirable".
a) I tried to find out in PSP "preferences" any option to stop tagging automatically. And I couldn't find it.
b) Other problem is to delete the tags I don't want. If I delete the tag in tags tree (manage/collection) it appears again. The only way I found is deleting tag by tag, image by image, what is madness of doing to a plenty of images.
Any way of deleting the "main" tag in order to delete automatically the related tag in each image?
View 3 Replies
View Related
Mar 21, 2013
Is there a better plug-in that handles multi-layer EXRs than the EXtractoR plug-in? It's a little tedious to scroll through a messy looking list three times for the R, G, and B channel for each layer I want to use.
I only have to select a layer name once and it's smart enough to know that I want to use the R, G & B of everything with the same name. There's also less visual clutter in the Nuke pop-up menu.
View 3 Replies
View Related
Dec 6, 2012
Confirm that X5 does not take into account the xmp side car files when reading a CR2 raw file?
View 4 Replies
View Related
Aug 8, 2008
Is it possible set a Default Folder for all "Save As" to be saved in?
I find that an edit of a photo will automatically save in the folder that I opened the shot from. If I had made a copy of the shot, the copy will save in a different folder.
Ideally, ANY AND ALL (originals and copies) "Save As" should be save in "c:Working" by default without having to go through the hassle of navigating there.
I am running CS3 under Vista (4 gig ram) on one machine and XP (3 gig ram) on another.
View 2 Replies
View Related
Oct 31, 2012
I have a student that has chosen to draw a baseball stadium as a project. He has inserted thousands of seats and has thousands more to insert but has already starting to experience some lag when viewing in 3D. Is there a way to handle all these seats so that it is less memory intensive? Does it work to group the elements?
View 3 Replies
View Related
Nov 15, 2012
I am now shooting both digital and analog. When processing RAW files coming from my digital cameras, I don't have any problem with LR. But I am also scanning negative films and handling the resulting TIFF files in Lightroom. Since I have started this new workflow, I can be sure that Lightroom will crash at least once during a session. This can happen at any time when I'm in the Development module.
I'm running an Intel iCore 7 2600 PC under Windows 7 Ultimate 64-bit with 8GB of memory and plenty of disk space.
View 4 Replies
View Related
Sep 17, 2012
Set import and file-handling preferences?
View 1 Replies
View Related