Any way to change the "View" of parts on file open? When I open an .ipt or .iam the Visual style view is always "Shaded". I want this to be "Shaded with Edges".
If I make a3d part, turn on the sky-background and illuminationand render the part AutoCAD does something odd. It defaults to perspective view and activates sky-background andillumination every time I save, or switch from a layout tab to model space. How doI get it to default to parallel view and 2d wireframe?
I am using Inventor version 2011. I wrote this code which tells me which object defaults style is active
Public Sub ActiveObjectDefaults()
Dim oDocument As DrawingDocument Set oDocument = ThisApplication.ActiveDocument Dim DrgStMgr As DrawingStylesManager Set DrgStMgr = oDocument.StylesManager Dim ObjDfStyle As Style Set ObjDfStyle = DrgStMgr.ActiveStandardStyle.ActiveObjectDefaults MsgBox ObjDfStyle.Name End Sub
Is it possible to change Active Object Defaults Style by VBA code (see picture below)?
I am trying to change Object Defaults in order to temporarily switch style which use layers with different line weights, and than switch it back. I am new to VBA so I am not sure if I am not trying to do something what is impossible.
How can i change my default setting from picture 1 to a new setting like picture 2 when i open up a new part file and assembly file.Is there a setting i can change so whenever i open a new part file & assembly i have this setting as my default.
Is there a way to programatically set a visual style before a drawing actually opens?
We have some huge models and people seem to forget to change their visual styles back to 2D wireframe before saving and exiting drawings. Some models will crash on some workstations when trying to open in a rendered mode.
I found a lisp with a function that looked to set viewport visual styles. But it does not seem to be supported anymore. --> (vla-put-VisualStyle vport 1)
I am trying to change the default label styles for AddSegmentLabel under general styles using .NET...
Dim X As Autodesk.Civil.Settings.SettingsCmdAddSegmentLabel = CD.Settings.GetSettings(Of Autodesk.Civil.Settings.SettingsCmdAddSegmentLabel)()
X.Styles.LineLabel.Value = strChildStyleName ... says name does not exist
or
X.Styles.LineLabelStyleId.Value = oidChildStyle ... "The type of objectId is wrong"
If I manually change it to a child style and then check the values, they are the same as what I'm trying to set them to. If you use a "parent" style then these both work. Am I doing something wrong or this another limitation?
Civil 3D 2013 - Windows 7 Pro 64 - Dell T3500 - Xeon 2.67 - 24gb - Quadro 600
For some reason regardless of what I save or the fact that I've saved the template files, everytime I open a new file it automatically adds shadows and applies perspective view. This is extremely annoying. How do I alter the default settings to be ortho with no shadows?
I have a problem with autocad visual styles. In my visual styles manager I have the same styles:It causes confusion and when I'm going to delete one of them, delete is not available.
When I try to do a make components I get this error "Could not open default template file." All the Standard.xxx files are the designated folder and named appropriately. Plus I just used this command earlier today. I did do a "rebuild all" but I'm not 100% sure the problem came directly after that.
We own Civil 3d 2010 and are using the Map workspaces.
It seems Map is hard-coded to use the table style 'Legend' when inserting a legend table, yet you can modify the table style of the legend table after it has been inserted.
Is there a way to change the default table style from 'Legend' to something else?
When I use File > Open or Place Component the Windows file browser opens in List mode which means that I have to use the horizontal scroll bar to browse the directory. I would like it to open in Detail mode [List and Detail are some of the view choices under the View Menu of the Windows file browser window] allowing me to browse with the vertical scroll bar. -- I think it's ergonomically eaisier.
I can make the change from the View Menu but it doesn't hold. I have checked to see that Windows 2000 is set for Details when using Windows Explorer.
Are there any settings in Inventor to force Detail mode?
How do you change the default text style (when creating a text object) in 3dsmax ?
Here is the scoop, I have successfully created attributed 3d objects in Autocad, exploded & convereted the attributes to text objects instantly via coding, then wblocking the text objects, importing them into 3dsmax via the Autocad Legacy importer with the group according to object selected, then in one shot coverted that group to an editable mesh (thus giving me filled in text).
It all works perfectly including text with thickness's, it retains itself as text objects in 3d studio and does not seem to overbloat the 3dsmax file (I typically have about 200 to 250 lines of text per job), this if for commercial interior design where I have many signs and walls with textual information that are the same sign but with different sayings, and also a few incremantal numbered stuff, so much easier to fill in in Autocad, some automatically via coding most as already mad blocks, then it is to do it TWICE, one for the cad drawings, then again for the the renderings.
Anyways, what happens is, the text comes in always ARIAL style, this is what I want to change, things I have tried so far:
1. Drew a text object in 3dsmax before importing, changing the text style to what I want, I said, this has to work, becasue when you go back to the create text dialogue in 3dsmax, the last style used remains as the new default. Imported the cad file, NOPE, Arial again.
2. Then I thought, maybe the actual style name in Autocad was teh problem, so I then renamed the style in autocad the to EXACT name of the Windows font file. Thats it, had to work, NOPE, Arial again.
3. Fruitlessly look in the 3dsmax options dialogue box, no default text style.
4. Tried to figure out how in the world I can select TWO text objects in 3dsmax and get the modify text modify panel so I can change more then one at a time, I dont know how to do that or if it even can be done.
What I need to know is if there is some sort of configuration file that I can edit that will allow me to change the default text style, I find it hard to believe that the word 'Arial' is hard-coded into the 3dsmax software or the Legacy Autocad importer, what if you didn't have that font on your computer ??
I will not have a problem changing that file for each font style I want to import, I will simply in Autocad split apart the different font styles to different layers, then change whatever I need to in 3dsmax then import each group of styles one at a time, no problem. I have already done 3 projects with my system, changing 200 or so text styles in 3dsmax one at a time, this has to end !
I am trying to use autolisp to change the point label style in autolisp. Mostly teach you how to do it manually, I not sure there is a way to do it in autolisp.
Is it possible to create a lisp that would change the plot style table? I don't know of any variable to type to change that. We convert drawings from Solid works to AutoCad and use the basic monochrome plot style. I'd like to easily change that since the act of doing that is repeated many times.
I am fed up with constantly changing the colour, justification, font and font size of text in sketches in the part environment. The text style drop down box is greyed out in the part environment so i can't set up a style and just change it.
Where i need to go to change what the default-iso style defaults to? Any registry key change i can use to make the test style drop down box available in the part sketch environment?
I created a template and changed some style properties. I can not save to master location and when I open the template is tells me it is going to override my custom style.
How do I save out my custom style to the defalut location?
I am wondering if it is possible to do a style update (or style update check) upon open of a drawing?
The example would be that I have stuff made from way back that the colors/dimension sytles ect dont match the current standard and upon opening a file where they are not current, it would either prompt to update immediatly OR update automatically with no prompting (preferred method).
I am doing a massive amount of updates from old files recently and to save myself 1 - 3 clicks per drawing would be wonderful.
Each time I open my drawings, I have the View styles come back to ‘’Shaded’’ instead of ‘’Shaded with edges’’. How do I force it to stay on ‘’Shaded with edges’’ ?
I like "Shaded with edges", and I want the edges black. I have set up the display to this setting in Application Options, Display tab (Use application Settings), and Settings button. Excellent, that's nice. (I have also mapped the num pad 6 to that style, along with 5 is Shaded with hidden edges, and 4 is wire frame).
However, In Inventor 2014 Dynamic simulation, the visual style defaults to "Shaded" (no edges). Ok, i can live with that, I guess. I'll just hit NumPad 6 and it looks good again.
Ctrl-Tab to another open file, make a change or two, come back to the DynSim and - hang on, where are my edges? I can just hit 6 again, but should I have to? I haven't ever seen this display property changed when changing between files before.
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"?