AutoCAD .NET :: Material From Image File With Parameters (including Rotation)
Sep 5, 2013
Any example code of creating material from image file including the setting of parameters like seen in the materials dialog. I need to set the rotation angle along with the U/V tile and U/V offsets at the same time. This example shows part but does not do rotation.
[URL].....
I am trying to make the image fit a rotated face that is usually of the same proportions as the image.
View 1 Replies
ADVERTISEMENT
Dec 8, 2011
I have some parts with varies User Parameters that allow cusomization of part features. With numeric user paremeters we can check the export parameter box and then, in the description of the part we can refrence that parameter. For instance the description could be: =Width <Width>, Height <Height>, etc. Where it would desplay as Discription: width 22in, height 12".
We also have text User parameters. Is there a way to add these parameters to the description as well? They do not have the option of checking the export parameter box in the parameters table.
View 1 Replies
View Related
Dec 11, 2013
i need complete piping material library for Auto CAD which included all dimensions.
View 9 Replies
View Related
Jul 15, 2012
I want to link the thickness of the material used for a steel structure of to the offset of another steel structure that attaches to that it. I want to be able to change the size and material used for the frame and not have to continually change the offset of the piece attached to it. Is there a way to lind the thickness of one bar to the offset of another?
View 6 Replies
View Related
Jun 28, 2012
I have (for the sake of argument) 2 illustrator files. One contains some vector drawings with multiple layers. I'd like to use two "versions" of that file so I'm using variables and datasets to toggle some layers and change some textfields. Now, in the other file, I'd like to link (place) to these two versions. When placing external files you can choose between several options, for example which artboard you'd like to include from a certain file, but I can't find an option for choosing which dataset (from the to be included file) I'd like to use?!? It seems to be using the one which was "active" while saving the file.
So, is it possible to include an illustrator file with a particular dataset and then the same file once more with a different dataset? And if so, how? It seems a bit redundant to duplicate the original file (with the 2 datasets) so it can be included in another one... for every change in a layer for example I would have to save the file twice? (Or more if I had more datasets)
View 1 Replies
View Related
Jun 22, 2012
Id like to append a file with the following text...
(load "C:/ICT/GEBERIT/LSP/GEBERIT.LSP")
Quotation marks and all but how do i Handel them and the open and closed brackets using the following lisp example
(setq f(open "C:/ICT/AutoCAD_Architecture_suite_2012/LSP/acaddoc.lsp" "A"))(write-line "(load "C:/ICT/GEBERIT/LSP/GEBERIT.LSP")" f)(close f)
View 4 Replies
View Related
Nov 22, 2012
OK I have a PNG image, black and white. I want to change it to navy and white, IOW sub 0033 for black wherever it is.
Only one prob: some of the squares are SHADES of black, and I want to sub navy for black in EVERY pixel it inhabits, however pale.
How can I do this without trying to identify and translate every shade represented? Does a filter exist for this?
Is there a way to search and replace using masks for HTML color codes or some such (don't even know how color codes work)?
View 2 Replies
View Related
Jun 29, 2011
While i was working on a file the coreldraw got shutdown and the file got corrupted including the backup file now its showing only the coreldraw icon no priviews are there in the thumbnail
View 1 Replies
View Related
Jul 27, 2012
I am making a template file having title block with fields. I use this template for creating layouts and sheets using Sheet Set Manager and the fields will be updated from the data of SSM. Now i would like to add a dynamic north block to my template. The block could be rotated (i have this block in file itself) and rotation angle could be inserted. Now how can i add a custom field to SSM so that i could set a rotation angle for the project and thus every new layout or sheet created using the template has the north block rotated with the angle mentioned in SSM.
Here is the file...........
View 9 Replies
View Related
Sep 21, 2011
I want to rotate a drawing in my paper space, but without rotating it in model space. So that I still can work on it easily in model space.
View 9 Replies
View Related
Apr 1, 2010
I have some UTM images that I need to convert to State Plane. If I import them into map with raster design and export them to the state plane coordinate system, they work just fine, but I can't figure out a way to get rid of the black wedge that it makes along the edges of images.
If I query them in using map I can transform the coordinate system, but then every time I open the drawing it takes like 5 minutes just to open.
What has everyone else done to use multiple images in a drawing and transform or convert the coordinate system of the images?
View 3 Replies
View Related
May 15, 2007
I have a North Arrow that I would love to make into a dynamic block. I would like to be able to rotate the N that represents where the north direction is. But while rotating the N around the center of a circle I would like the letter itself to stay un-rotated. It seems simple, if I rotate the letter around the axis of a circle 90 deg, I would like the letter itself to rotate -90 deg on it's own axis. Of course this is easy to do manualy, but how do i do it so that rotation 1 automaticaly triggers rotation 2?
View 9 Replies
View Related
Sep 27, 2013
Pt# 812 (From my drawing)
N: 2004294.63
E: 6057287.18
Pt# 715 (Stake point from a DXF file)
N: 254.39
E: 218.59
I built my drawing from the civils. I wanted to check the points that the surveyors are staking with a DXF file. As you can see from the above two points, our coordinates were wildly different. I brought the DXF file into my drawing as a block, and translated and rotated it to match my drawing. I had to drag it several miles, but no problem there.I imported the as-staked point file to a new group and dragged them up near my drawing, but the drawing was getting a bit crowded by then. So I made a block of all the imported points to make it easier to translate and rotate them to match my drawing and the overlayed DXF. After exploding the block of points, the points showed up in the new group. Anyhow, here's my questions:
1. How do you renumber(offset number) imported points? The option I saw was only for duplicate points. I wanted to offset them all.
2. How do you translate and rotate a large bunch of points without turning them into a block?
View 3 Replies
View Related
Jun 7, 2011
I am trying to enter some material ordering info into an external spreadsheet, and have that info reflected in a text box within an idw drawing file.
My method is as follows:
Obtain a numerical value (250) from an external Excel spreadsheet (sample.xlsx).Assign this value to a parameter (abc) in an idw file (Materials Ordering.idw).Insert parameter abc I made into a text box within the same idw file.
I made a set_parameters rule, and the ilogic text of the above example is as follows:
'Open File and Scan line - Part = Impeller Casing Flange
i = GoExcel.FindRow("sample.xlsx", "Sheet1", "Part", "<=", "Impeller Casing Flange")
'abc = Material Width
abc = GoExcel.CurrentRowValue("Material Width")
I had no problems with the first two steps, after checking the parameters I could see that parameter abc is being updated successfully.
However, I am having trouble with the third step. In the format text dialog box, I can see a drop box for components, but I can't find a reference to the idw file in there.
My question is, am I going the wrong way about this? Should I have assigned the parameters to a component instead of the idw file?
View 5 Replies
View Related
Aug 22, 2012
Working code ...... attaching file
Auto = iLogicVb.Automation
Dim iLogicAuto As Object
iLogicAuto = Auto
Dim oDoc As Document
oDoc = ThisApplication.ActiveDocument
[Code]...
'but now something more i wanna do is...... delete parameters
If Not (param Is Nothing) Then
For Each param In params
i = MessageBox.Show("Checking for Parameter in File")
i = MessageBox.Show("No.of Parameters exists are ="& param.count)
[Code]....
View 5 Replies
View Related
Aug 3, 2011
How can you access user-defined parameters/function defined in the Parameters Manager dialog?
View 1 Replies
View Related
Sep 21, 2011
Im wondering if its possible to link either a constraint dimension to an action parameter or vice versa. Or using a linear parameter's value in an user parameter formula.
Its a 2D cylinder, for winding purposes we just have a rectangle, with a distance from the Y axis for radial.
Parametric dimensions: B=thickness, C=Lenght, R=radius
User parameter: A=Diameter (R*2), Mass in kg ((((pi*(c*b))*(A+B))*1.25)/1000)/1000
For the BOM, i need A, B, C & mass
For drawing references for peoples on the floor, to distinquish a cylinder from a stick, we put lines at the top and bottom of the cylinder, 1mm distance inbetween them.
I figured that making a linear parameter + stretch on the thickness to replace the B parametric dimension, allowed me to make an array of that line, with increments of 1mm as i stretch the cylinder. The thing is that the mass formula cant take the value of action parameters....
Other alternative is to keep the B parametric dimension, and add a linear parameter as above for the array. But then i have 2 places to adjust, and from a test i made, if i change the R dimension, the linear one does not follow. Its very frustrating.
What i was hoping autocad would be able to do is distance1 for array to be same as B dimension, but it does not allow me to do that, unless im missing something.
View 0 Replies
View Related
Jan 22, 2013
My goal is to open have people go into a central assembly file, type in their specific parameters and the various part files update within the assembly. I wish to do this without the need for an excel sheet, but when I try to link the parameters from the assembly file to the part files, it will not allow me to insert these parts. I get an error about an "assembly can not be placed into itself."
Iparts will not work as this has an infinite amount of sizes.
View 3 Replies
View Related
Apr 3, 2012
I want to import the parameters from the .ipt file into the .iam file using a rule from iLogic (unless there is another way to do it?)
I pinched the code from the example hand rail iLogic part that comes with inventor and tweaked it to suit. After inputting the code shown in the image, when I click OK I get a 'fatal error' of some sort.
View 6 Replies
View Related
Jul 20, 2012
I linked an excel (2010) file with an inventor (2011) .ipt and none of the parameters are showing inside inventor. I was leaving the file external but I embed it also as a trouble shooting step and nothing still. I have no spaces in excel sheet. Is there something special i need to be doing inside excel or inventor?
View 5 Replies
View Related
May 21, 2012
I would like to have a rule that will add specific user parameters to a part file. These parameters need to be formatted so the width, depth and thickness will control the description of the part.
IE:
Width=4
Depth=2
Thickness=3/16
DESCRIPTION = TS <Width>X<Depth>X<Thickness>
I would like to format each parameter so that the:
Format=Fractional
Precision=1/16
Unit string=False
This is what I have so far:
oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters
oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"
[Code]...
The TOP_RAIL parameters are from a linked file.
View 9 Replies
View Related
Aug 1, 2004
Everytime I I try to totate the canvas arbitrarily the qualtiy goes way down, but if I rotate it 90 or 180 degrees it doesn't change. Most of my images need to be rotated 45 degrees. Is there any way to keep the image quality from going down or a way to fix it?
View 1 Replies
View Related
Jul 10, 2009
I have a photo which I needed to rotote counterclockwise 2 degrees. The problem is that the canvas did not rotate with the photo making it difficult to crop the photo because some canvas remains.
View 1 Replies
View Related
Jul 15, 2011
When setting up a simple FK control curve on say the wrist for example, many times the control curve isn't exactly perpendicular to the local rotation axis of the joint movement, so when we position the control curve to be perpendicular to the joint - it has a rotational value added, but the rotational handles are lines up with the rotational handles of the joint that we want to move.
Freeze Transformations: then the control curves rotational handle go back to being skewed (out of alignment with the joints)
We want to Freeze transformations before constraining the curve, but we'd really to keep those rotations control handles to remain aligned with the joints rotational handles. This will make it an exact control when animating - grab the rotational handle of the curve, rotate it, and the joint will move exactly in the proper direction.
how to get the rotational handle of any control curve to run perpendicular to the shape after freezing transformations?
View 3 Replies
View Related
Dec 20, 2012
I'm rendering an equipment shelter that sits atop a gravel pad. I've picked the "Gravel Crushed" material, and it looks OK, but I'd like to be able to scale the material so it isn't so "fine". I'd like it to be more coarse.
How to change the scale of the material?
View 2 Replies
View Related
Aug 27, 2012
Where the proper location to store custom images for new custom materials? We do not use vault and I currently store everything locally. I found where Inventor stores all of the material library images in C:Program Files (x86)Common FilesAutodesk SharedMaterialsTextures. In that "Textures" folder there are Inventor material images stored in folders named "1","2 "and "3". Should I paste my custom image in all three folders, or a completely different location? I need Inventor to find this material and image for every new project so I save it to my library but I do not know where to store the image.
View 2 Replies
View Related
Jan 13, 2014
To summarize: It seems that compounding a path resets the rotation of the gradient to it's original degree of rotation.
Detailed version:
1. Create a shape.
2. Add a gradient fill. Note it's degree of rotation. Let's say it's set at 10°.
3. Now rotate the shape by any means (transform or rotate tool). Note the gradient degree of rotation has shifted the same amount as the shape was rotated (if it was rotated 50°, the gradient will show at 60°).
4. Make it a compound path.
5. Instantly the gradient shifts back to it's original degree of rotation of 10°.
It appears that when rotating a shape with a gradient, the rotation of the gradient is locked to the rotation of the shape. But when making it a compound shape it releases that lock and "remembers" it's original state. But that is only true as soon as you make it a compound path, but if you no go ahead and rotate it just a bit using the cursor (as opposed to selecting transform > rotate), the gradient will switch back to how you would expect it to rotate in the first place...
Workaround would be to make it a compound path before rotating the shape at all.
View 1 Replies
View Related
Dec 13, 2012
using AutoCAD 2009 (vanilla)
I got too smart for myself today in bringing an old drawing up to current standards...Everyone seems to want their block attributes to be zero - I have blocks where the attributes are best when they match the rotations of each blocks.
I have an old drawing that was rotated (as it should be) at approx 2deg.
I used a lisp routine to global edit all the blocks that needed to be at zero. BUT for some reason (and after hundreds of blocks were corrected), I noticed I now have two blocks that should NOT have been in the set have had their attributes rotated to zero....and the attributes should be at the same rotation as their block's rotation.
Because those two blocks have a fixed tic mark, I can click on the mark to see what the block rotation is, then rotate its attribute to that rotation, but I have hundreds of blocks! One-at-a-time sucks....
Any chance there is a GLOBAL way to edit an attribute rotation to match its own block's rotation?
View 2 Replies
View Related
Jan 18, 2013
In Photoshop CS6 extended,when exporting 3D file as an .obj (that has a material assigned to it), it does not create the material file - .mtl - only the .obj file is created.
Is there a setting I am missing?It works on another station, so I assume its a setting.
View 5 Replies
View Related
Mar 26, 2012
What's with the seemingly random, compas points, which irreversibly rotate an image?
View 4 Replies
View Related
Aug 1, 2004
I've got a question about canvas rotation. Everytime I I try to totate the canvas arbitrarily the qualtiy goes way down, but if I rotate it 90 or 180 degrees it doesn't change. Most of my images need to be rotated 45 degrees. Is there any way to keep the image quality from going down or a way to fix it?
View 9 Replies
View Related