AutoCAD .NET :: Create Objects And Then Replace Them With Userinput
Apr 27, 2012
I Would like to create a drawing from vb.net, and when it is drawn, i would like to move it to the place the user wants it to be in the drawing using a ghost-image on the mouse cursus
... i cannot get it to work, my head explodes..(rather new at .net, used to vba)
this is what i have at this point:
I have a drawing, in this examples just 2 rectangles, which are drawn by vb.net, and put in an arraylist.
this arraylist has to be dragged to another location in the drawing by the user.
I want to get an objectcollection in a selectionset
Public Class Drag
Dim OriPunt AsPoint3d = Point3d.Origin
<Autodesk.AutoCAD.Runtime.CommandMethod("MD")> PublicSub MoveDrawing()
[Code]....
View 1 Replies
ADVERTISEMENT
Jun 20, 2012
If a scene have, lets say, an array of 100 boxes, is there a way to replace in a single step each of them for another specific object?
View 2 Replies
View Related
Aug 5, 2013
(Photoshop CS5.1) A file contains 3 instances each of 2 unique Smart Objects. Is it possible to Replace Contents of all 6 objects so that they share a common source content?Seems simple. Doesn't work.
View 4 Replies
View Related
Aug 24, 2012
Why does the find and replace functionality have to be so sloppy to use? I have a customer that sends me cmyk drawings and I need them to be rgb. They also have lines that need to be changed to hairline from .25pt. It's frustrating how difficult this is to accomplish due to the sloppy interface that CD has had ever since I've been using it - since v12.
How hard would it be to allow you to change the palette, line width and colors on lines and outlines in one step? Right now it's multiple steps and don't forget once to change the target color palette or you'll convert everything back to cmyk...
View 9 Replies
View Related
Dec 21, 2012
I have photoshop 7 and I wish to remove unwanted objects from photos and replace them with the current background. I have tried to use the healing brush tool , and the cloning tool, but I do not have content aware. How can I replace unwanted elements in my photos with the current background using my version of photoshop. The welcome screen to my edition says it is possible?
View 1 Replies
View Related
Feb 23, 2012
i have a csv file that has 6 columns, PNEZD and a 6th column which is my notes..i type a star in the data collector after my code, make my note, and then find/replace after i export it and replace star with a column..that gives the desired 6th column in excel that my boss wants....problem is he also wants to see that next to the Full Description in Civil 3d 2012...i tried adding a Point File Format with a 6th Column, User Defined, String for type...named the column Notes...but if i go to edit the point there is no 6th column in the Tool Palette.
View 1 Replies
View Related
May 24, 2012
The Recolor Artwork dialog does not replace the color of objects filled or stroked with pure black, either CMYK or RGB. (Yes, with the Recolor Art checkbox selected.) The dialog will replace any other color, but not black. Not even a manually created rich black. Manually selecting another color from the Color or Swatches panel does change the object's fill or stroke.
This happens with both CS6 and CS5 under Windows 7 x64. I reported it as a bug on the prerelease site. Also not sure if bug reports are still being read for the released version.
View 6 Replies
View Related
Sep 19, 2011
Let's say, for example, that i create an object with a size, then i create other objects with other sizes.
When I try to see the size of the first object created it says that has the same size like the other objects which have other sizes (it's even obvius cause they r bigger on my screen:D).With all the other versions of Corel i didn't had those problems, but X5 does that.
View 11 Replies
View Related
Jan 8, 2013
The firm at which I am currently consulting uses AutoCAD 2014. My system at home has P&ID. I don't use the object/3d features -- it is just the version of AutoCAD that I wound up buying. (I think it was on special or something.) In any case, some of our drawing files have become too cumbersome to use, especially on the machines at the office, and I wonder if my P&ID is the culprit. The large files appear to have AEC objects that are bogging them down, but nobody has ADT, so we are unsure from where these objects are coming. They may be coming from the client, but I wonder if they are coming from my system. Does P&ID automatically create AEC objects and, if so, is there a way to keep it from doing that?
View 2 Replies
View Related
Jul 19, 2012
section i created in autocad doec not shows the aec objects i have copied from autocad architecture. i don't know whats the reason. is there some way to creat section of aec objects in autocad?
View 1 Replies
View Related
Sep 13, 2012
Can you create Catchment Objects from the API or how to update the SSA file to include your catchment data?
View 6 Replies
View Related
Aug 7, 2013
I am trying to draw a boom for a sprayer and I have the 3 main tubes extruded. I need to draw plates every 48 inches in between the main tubes. I wanted to draw each plate to make sure it would fit and then use the drawings to cut the plates on my CNC plasma cutter. However, I can not figure out how to draw on the same plane right around the main tubes. I have a screen shot blow showing the tubes and I have a small 2D sketch similar to the plates I need to draw in every 48 inches to the right. The plates will be perpendicular to the top tube.
Cad Shot.jpg
View 9 Replies
View Related
Sep 3, 2011
You've made a 3D model - you would like to know it's width, height and length. If you let's say made a box (by box command) then simply CH (properties) will give you the aforesaid measurements. However if you made a box (rectangle+extrude) only height is shown all in spirit of the command used to create a solid object.
I know LIST does get you a bit further by listing a bounding box, but is there a similar command that will get the job done and show you width, height and length.
I am acknowledging the fact that extrude can be used not only to create objects perpendicular to the base they were created from etc etc, but is there a way.
View 3 Replies
View Related
Jul 28, 2012
find way to create linked objects in AutoCad from C#?I mean - for example, circle and some lines lined to this circle:
- If I move line it should be possible to move only one end point of line - second endpoint should be linked to the circle and not moved.
- If I move circle it should be move all endpoints of all lines linked to this circle.
In general I want to create network diagram ("graph" in mathematical terms) from C# code.
View 9 Replies
View Related
Aug 25, 2012
I want to create a line style for feature objects (line object) wich symbols only on the vertex of the line. How can I do it?
View 9 Replies
View Related
Sep 18, 2013
Since the release of Photoshop CC the "Live Shape Properties" has basically chosen when it does and does not want to show up.... sometimes I even create a new shape to replace the old one and it STILL does not show the live shape properties... how hard is it to make sure the options are available at all times? I opt for a discount since this is a half working application and the features you highlighted barely function...
View 1 Replies
View Related
Dec 14, 2012
Can I create a pipe network from multiple objects?
For example, I have 10 feature lines that I want to use to create one pipe network. Instead of creating 10 pipe networks one at a time, can I create one pipe network all at once?
View 4 Replies
View Related
Oct 12, 2012
idsObjEntity-->collection of xref objects
private void CloneObjectIds(ObjectIdCollection idsObjEntity, String strFileName)
{
try
{
Database dbNew = new Database(true, false);
Autodesk.AutoCAD.DatabaseServices.TransactionManager tm = dbNew.TransactionManager;
[code].........
here i take the object id collection as xref filter by its layer name.i tried to clone the object in new dwg its shows Wrong database.
View 1 Replies
View Related
Sep 11, 2013
I believe there is a way to create a block of displayed objects that are shown within viewport. I know I have done this before with basic Autocad. The closest thing at the moment that I can think of is "SOLPROF" but that only works for 3D objects.
The way I remember the command working was you started off with the command, select the objects with the viewport/or maybe it was just the viewport, the command made an instantaneous block of the objects that were only within the display area.
View 1 Replies
View Related
Sep 4, 2013
Is there away to link a i.e. (a stoop to a finish flood elev)? So that, if I were to raise the finish floor, the stoop would move also. I understand I could possible to a create grading feature line for a stoop, but what happens if the stoop would be irregular shapped and not a rectangle?
View 5 Replies
View Related
May 4, 2011
I have these problems.
1. when I creat a new object he stays at position 0,0,0 and I only can move when I transform in some editable.
2.this happend when I try to construct bones TOO, and I can create whitohou the zeros point, when I click the bones are creating in same point in viewport.
I all ready try to press x, see the snap toogle, dont like to be an Axis constrain, try to restar to default config.
View 2 Replies
View Related
Mar 21, 2013
I have a circle with split into 5 segments (image A).All of the segments have a stroke (1px) of white, and a fill.
What I want is for the STROKE to be transparent so that when I position the 5 segments over a different background colour (image B) I see the colour underneath where the white stroke would otherwise appear. To recap - I would like to retain the width of the stroke, and make the stroke coloue transparent..
I've tried the Opacity setting, but this applies to the object, not just the stroke.
View 6 Replies
View Related
Feb 18, 2014
I have cs6 - i should be able to create a qr code under objects but the option is not there...
View 2 Replies
View Related
Mar 24, 2012
Create 3D objects from 2D images (Extended)
View 3 Replies
View Related
Oct 2, 2013
I need to create two separate enclosed objects (a & b) – both of which individually can be reduced/increased in size using the contour tool.
I initially created a rounded oblong shape and added two wavy lines. I'm having trouble removing the unneeded horizontal lines and connecting the other lines up.
View 3 Replies
View Related
Apr 13, 2011
I have (what I think should be) a relative simple question. I'm trying to find the best way to create a relationship between some standard primitive (box) objects (i.e. loudspeakers) at the walls they're supposed to be mounted to (i.e. the inner faces of another "box" object with inverted normals). I would like to be able to change the length and/or width values of the "room" (box object) and have the loudspeakers (also box objects) expand or contract with the walls.
I've tried linking and wiring parameters but so far no luck.
View 1 Replies
View Related
Jul 26, 2013
Is there any way to create a thicker line stroke to the border of the object without tracing the object manually. The object in placed in a group and it has closed and unclosed paths.
View 19 Replies
View Related
Mar 19, 2014
I'd like to start utilizing Illustrator more frequently for web and user interface design projects, but I still like taking everything into Photoshop for final rendering and compositing (and the simple fact that most developers want psds, not ai files). However, I find that the only way to successfully transfer all of the vector artwork from Illustrator and preserve it as vector objects in Photoshop (when exporting) is to manually convert every individual vector object in Illustrator to a Compound Shape (by selecting the shape and clicking Make Compound Shape from the Pathfinder palette menu). This can be very tedious if it has to be done after the design is complete, and very inefficient if you convert every object as you draw it.
Is there a way to set Illustrator to automatically create every vector object drawn as a Compound Shape without having to manually convert it?
Adobe Illustrator allows you to export your Illustrator document as a Photoshop document. However, Compound Paths (not Compound Shapes - see this article for not-so-great explanations comparing the two) – which is the default attribute applied to all of Illustrator's basic vector objects – do not convert into vector objects when the exported document is opened in Photoshop. Rather, the vector objects drawn in Illustrator get flattened into raster layers in Photoshop, making them poor candidates for refining the design in Photoshop.
View 19 Replies
View Related
Jan 9, 2013
I have created custom text, so that each letter in my 3 letter word is a separate compound object.
Now I have made a filled (with gradient) ellipse and rectangle behind the text to create a clipping mask with all 3 text objects. (see image1) However, when I select all the objects and select: object>clipping mask >make, it only mask the one letter, which is the one on top. (see image 2)
However, when I group the 3 letters together, it does not create a clipping mask at all, it shows nothing... (see image 3)
How do I ake all 3 letters be in the mask?
[URL]
View 10 Replies
View Related
Aug 23, 2013
I have finished my works using only one layer( a bad habit I know) and now I need to export them as PSD, and as You know it needs Layers so it can be editable on Photoshop.
I know the fact that I should import all the objects in single Layers, ie creating thousands of Layers for all the work, new layer for each object I import.
But is there any option for easy extraction of objects into single layers, one click option or much easier than going individually through each of them?
If not available, this type of option would work for CorelDRAW or any vector program, be really more effective and stay in touch with the requirements of the industry, especially when it comes, on creating vectors for web or apps.
View 12 Replies
View Related
Jan 17, 2014
I was hoping to create a JS script to move objects away from common center based upon their current position. I was thinking to use a single selected path item as the center based on its position x/y and width/height. Using this reference point the script would then move away all other path items from this center point based on a desired amount and with uniform increments given their current location from this center. I was thinking cos and sin would be my friend in this case, however they seem to have become my foe instead. ;-)
Does this sound doable? What am I missing, doing wrong, misinterpreting? Below is a non-working attempt, I can't seem to sort things out, perhaps I was close and missed it or maybe I am super way off and its more complex than I thought. However at this point I am confused across my various failed attempts this only being one of them.
// Example failed code, nonworking concept
var docID = app.activeDocument;
var s0 = docID.selection[0];
pID = docID.pathItems;
var xn, yn;
var stepNum = 20;
[Code]....
View 13 Replies
View Related