AutoCAD Inventor :: Setting Texture In Render Style Of A Part
Oct 29, 2012
I have got troubles with textures in the new Inventor 2013. When I try to programmatically change a texture in a render style of a part (no matter, whether I use an existing render style or create a new one), when I set the texture file name, Inventor throws an exception "Bad argument". In Inventor 2012, it worked. How textures should be set in the new Inventor?
Sample
PartDocument partDoc = ... some initialization
RenderStyle newRenderStyle = partDoc.RenderStyles.Add("newRenderStyle");
newRenderStyle.TextureFilename = newTexFilename; //this throws an exception bad format, even if the texture is in the Inventor textures directory
partDoc.ActiveRenderStyle = newRenderStyle;
View 2 Replies
ADVERTISEMENT
Oct 5, 2011
How do I change the a part material render style within an assembly?
I have tried this below. It changes the name but doesn't update the render style.
Sub Material()Dim oassy As AssemblyDocumentSet oassy = ThisApplication.ActiveDocumentDim ocompdef As AssemblyComponentDefinitionSet ocompdef = oassy.ComponentDefinitionDim ooccurr As ComponentOccurrencesSet ooccurr = ocompdef.OccurrencesDim opartdef As ComponentDefinitionSet opartdef = ooccurr.Item(11).Definitionopartdef.Material.RenderStyle.Name = "Red"End Sub
View 2 Replies
View Related
Jan 14, 2011
I was messing around with style editing, and added a texture map to a style as a bump. The bitmap I selected, however, was on my hard drive, not in the project search path. Now that I would like to check this part into the vault, I get the attached error message. I have since tried deleting, copying, moving the file from that hard drive to a legitimate search library.... removed it from every style it was used in, purged all styles, basically deleted it from every place I can find it, including going through the model tree and checking each individual feature (over 50!) to try to find it. It is still in the file somewhere, and I can't seem to figure out where. Is there no way to find and purge this offending bitmap?
View 4 Replies
View Related
Apr 13, 2011
The same scene, same settings, produce 2 very different outputs in max 2011 and 2012, render to texture for normals is currently useless in max 2012.
The blue one is a correct tangent normal map created from a sphere in max 2011, the colored one is the the one created inside max 2012 from the same objects and settings, and the last is another sample of normals generated in max 2012.
View 9 Replies
View Related
Nov 4, 2011
I try to copy a color with a custom texture to a part. In my data source I use a scale for the image between 0,1 and 1. (10-100%). On my form I have a slider to change the scale between this range.
But in the styles editor it is possible to go to 1000%. Is that also possible in the API?
View 1 Replies
View Related
Jul 30, 2013
The parts in my assembly all use the same appearance. When I come to to do a render of my model however it is rendering one of these shiny (I think thats what it called).
See attached images
Image1 shows how I want it to look (this is the opposite end of my assembly)
Image2 shows the problem
Image3 shows a different appearance give to the problem part
The problem part is derived from the other end of the assembly (the part show in image1). All the parts at this end of the assembly are created the same way. They all render fine its just this one. I have tried recreating the part but still end up with the same result.
View 5 Replies
View Related
Feb 20, 2013
How can I make a part resemble an open cell foam texture using 2013 ?
View 2 Replies
View Related
Apr 5, 2012
We have, as our standard library default dimension style, a 1/32 fractional style, called "1/32-FRACTION". Various Object Types, like Linear Dimension are set to this Object Style. When I create a drawing, then these Object Defaults are in effect.
This means that, doing nothing while executing a dimension command, I get fractional dimensions by default. This works good.
However, sometimes I want to create a drawing where the default dimension style is "X.XXX-DECIMAL" without changing the Object Defaults found in the style library. I've tried to make the changes from within the style library and then save this as a template. However, when I try to make a drawing based on this template, Inventor states that the styles in the template differ from the styles in the library" and then busily goes about undoing what I careful did.
So I'm hoping there is something in the API I can call on to do this with a macro. Is it possible to write a macro that after you start a drawing, flips all the various Object Styles from "1/32-FRACTION" to "X.XXX-DECIMAL"?
View 9 Replies
View Related
Jul 13, 2012
My part unit length has been setup as millimeter(mm).Once I created a line within 2d sketch by VBA script, the result of length always become to 10 times of value.For example, the two points of line is (0,0) and (0,4). But the result of length measured is 40.
My problem is how to create a line with part document setting?
View 1 Replies
View Related
Jan 11, 2013
I need to change my parts list style for all of my drawings from this point forward. For the life of me I can't figure out how to do this. I have my project set to read-write and I've tried this 10 ways til Sunday but it won't take. There are several things that I want to achieve but I'd be happy with just one of them for now. All I want to do is remove the ITEM column from my default parts list. After this I want to merge rows by part number, etc.
Inventor 2013
Windows 7 Professional 64-bit SP1
HP EliteBook 8470w
Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Memory: 16 GB
AMD FirePro M2000
3D Connexion SpacePilot
View 9 Replies
View Related
Nov 20, 2013
in iParts factory I would like to create part ## by setting common name and adding to it different values drawn from part parameters.
Please refer to attached image – common name in that example would be “DRILL” and description of the diameter and length automatically taken from parameters in columns “DRILL_D” & “INSERT_L”.
View 3 Replies
View Related
Mar 7, 2012
i'm experimenting with texture baking / render to texture. I've setup a simple scene with a box and a sphere and a omni light, no exposure, mental ray. I've rendered to texture the "complete map" for both. Then i've switched to default scanline renderer, put the baked materials to 100 self illumination, but the result (on the right) is more saturated and darker of the original render (on the left).
I've tried with different setups, but the result is the same.
View 4 Replies
View Related
Sep 24, 2013
I am trying to bake a light map by using render to texture. However, for some reason, whenever I render in a texture higher than256x256, it cuts off some portion of the map at the top. I do have the unwrap all in the box. This seems to just happen at random. I had this happen in 3dsmax 2013 on windows 7. I now have windows 8 and 3ds max 2014, but it is still doing it. I am, however, using the save from the former.
[URL]
View 1 Replies
View Related
Sep 15, 2013
Any good 3d party texture baker. They bake hi-res things forever and neigther can bake complex procedural shaders and details with transparency properly.
Is there any 3d party render that could be considered for texture baking? I tried Vray but it's even slower in baking. Is there anything other to try? I mean something with a speed of Modo texture baking for example?
Looking for uick render settings for texture baking? Mental rey or scanline. Prerhaps I should degerade or avoid something not tailored for texture baking. What would be a prefered way for indirect illumination or ambient occlusion? Is there a renderer that would respect edited vertex normals on low poly shells while doing baking?
View 1 Replies
View Related
Sep 10, 2012
Is it possible to render to texture with the gamma set to 2.0?
I am working with Vray and i set the gamma to 2.0, the render works fine, but the Render to Texture seems to be bypassing and neglecting this value set in the Vray/Color Management, and the Gamma LUT settings, and it renders dark textures.
View 1 Replies
View Related
Jul 12, 2012
I'm trying to bake a material using render to texture dialog. The issue is that whenever i render a diffuse map, it only renders the faces visible in the viewport im working in. The rest of the uv faces are rendered black. All the tutorials i look at never have this problem. What's the issue?
View 1 Replies
View Related
Jul 23, 2011
Is there a way to copy the "render to texture" settings of one mesh to another?
View 3 Replies
View Related
May 21, 2012
I've rendered out hundreds of these before in 3DS max 2011 with no issue but in 2012 and 2013 the background colour of my ambient occlusion renders are black instead of being white for all the objects selected except for the first one. What's going wrong?
I set the colour to white in the render to texture window and if I select a single model it works fine but if I select the same model plus others, the first one is saved fine but the others all have a black background. I'm saving them as TGAs which is my preferred option and as I said has been working in 2011.
View 1 Replies
View Related
May 3, 2011
Is it possible to set a viewport's visual style without opening the drawing in the editor? I would like to set a visual style on all viewports for a batch of drawings.
As a followup, could the viewport then be part of a publish event and have the new visual style hold without opening and reneging the drawing?
View 4 Replies
View Related
Oct 3, 2013
I saw a max demo at a show where they shattered the wall in a video/photo. The artist baked the background image to three planes (floor and two walls) like shown in the illustration, and then exploded one of these planes. It involved some kind of texture baking, but I didn't catch the whole process.
View 1 Replies
View Related
Nov 20, 2013
I can't seem to get max to render to texture properly with network rendering. it renders just fine on one machine, but whenever i run it through the network option it saves the wron part of the strip.
I have tried it with several different machines and several different files and none of them work.
View 1 Replies
View Related
Sep 24, 2012
I have to bake all textures in a 3DSmax / mental ray scene.I'm using "Render to texture" and I have 2 big problems :
1) How can I change the type of image file ? When only one object is selected I can access to "File Name and Type", but when all my scene objects are selected this option is not available. So the baked textures are .tga
2) The baked textures have a gamma value = 1. It's too dark, and I want a 2.2 gamma value.
View 1 Replies
View Related
Aug 31, 2012
Why am I getting images like these two when I tried to render and visualise my corridor through the Code Set Style?
View 3 Replies
View Related
Sep 23, 2013
What is the ideal dimension style setting for metric say 1:100 scale. See my setting on the attachment.
View 8 Replies
View Related
Aug 26, 2013
In the Band Style_A pdf you can see the location of my elevation labels, they are below the bottom line of my profile view grid. In the Band Style_B pdf the labels are showing up in the proper location (above the bottom line of the profile view grid). To move the labels to the proper location I changed the "Gap" setting from 12.5 to -24. Is there a way to change this setting in my "style" rather than have to go make this change to the style every time I use it in a profile?
View 3 Replies
View Related
Jan 4, 2012
Inside 3ds max, both render to texture and compact material editor windows are not popping out.
I tried re-installing twice, installed latest subscription pack also. but still i am facing same.
View 2 Replies
View Related
Jun 26, 2012
Is there a surface setting / style option where contour labels (elevations) will display at some specified interval as part of the surface rather than going through and adding them as labels afterwards? Seems like a rudimentary operation, where the labeling can be so scattered and random.
View 2 Replies
View Related
Jan 26, 2013
We are upgrading from LDD2008 to Civil3D 2013. I'm working on a Civil3D template
I'm setting up line and curve label style. Oringally we were going to have one set of line label style. Ex. Bearing Above or Bearing Below. After seeing that the line labels does not look at the current text style we decided to make copies of the original label styles based on Text Styles.So now I have Bearing Above60, Bearing Above100, etc. I named them based on the Leroy styles and sizes.
After editing each one and changing the Text Style each one looks at, it is not using the Texting Style i assign it. I'm doing this in the General Tab and Text Style for each label style.
i guess I should have tested before creating all them to find out it didn't work.Does it need to be done somewhere else or is do I have to do something with the overall label style overrides?
View 6 Replies
View Related
Sep 12, 2012
I have set my text style and the height but what i am suppose to write in the Widht Factor case ?? The default setting is 1.0000?
View 2 Replies
View Related
Sep 21, 2013
We have 3 to 4 workspace settings in Autocad in which I am using Autocad classic setting. I have made Autocad classic seeting current and default in workspace setting but nowdays i am facing problem that while opening Autocad, drafting and annotation setting overcomes and always opens with drawing. I am unable to set Autocad classic style permanent.
View 9 Replies
View Related
Mar 15, 2013
Does the Style setting Plan Readability work for General Notes? I've been thinking we should use notes for all our text so that they react the same as all the other Civil 3D labels. But they don't seem to. They scale correctly but stay parallel to the UCS.
I've tried this in a fresh drawing from a simple template and from an OOTB template. They never rotate in a layout. Is this the normal behavior or am I missing a setting? This is how I have it set in my style:
Civil 3D 2012 SP 2.1
Dell Precision T7400, Xeon CPU 3.16 GHz
Win 7 Pro, 64-bit,12 GB RAM, Nvidia Quadro FX 4600
View 4 Replies
View Related