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)
How does one display obscured lines using different linetypes in the 2D wireframe setting under visual style settings. I need to adjust this setting to view all drawings as 2D wireframes in the viewports in all layouts for more accurate dimensioning (which I do in paperspace)?
I use the hidden visual style when I plot my MEP drawings and I keep having this issues (sometimes it's worse than others) of piping that is on a layer that is off/frozen still blocking a visible line.
It looks like there are wipeout's going over my pipes when in fact it is a pipe not shown.
I am looking for a way to change the text style used by a table style with Visual LISP. So far I have been able to get the IAcadTableStyle object from the acad_tablestyle dictionary, but there is no property for text style. Is this even possible? Code and results are below.
I'm trying to plot 3D objects with hidden lines. I've set the viewport SHADE PLOT property to "Legacy hidden" and set my visual style to 2D Wireframe with 2D Hide-Occluded Lines linetype set to "Dashed". The hidden lines do appear, but I don't like the size and spacing of the dashes. Is there a way to add "Hidden" linetype to the selected visual style? Or perhaps there's a way of adjusting the linetype scale for visual style occluded lines (similar to LTSCALE or PSLTSCALE command)?
I just got a new job with AutoCAD 2011. In the previous version (was using 2008 beore), I could select all lines, dimensions hatches, and then change the dimension style. But with this new version, as soon as I select anything that is not a dimension, like a hatch pattern or a regular line, I can't change the dimension style anymore. Is there anyway to change this back to how it was?
I have created a table style in ACAD 2012 with all of the cells formatted to what I need. The trouble begins when I bring in a BIAS excel data link to populate the table. I have tried every option in the insert table steps and have even tried all the different options under the modify excel link options. I have toggled the use excel formatting on and off, which does change the table size a small bit, but does not allow the table style to take affect.
I have attached a screen shot of the "good" and "bad" tables. The bad table is what the good table comes in as and it is also what happens everytime the table link updates. It always reverts back to the bad style and then I have to change the table back to the good one by hand - changing each column individually.
Is there a way to attach a data link to a table with the table style holding its shape and formatting?
This happens on all of my drawings and using all kinds of different excel links.
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 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.
In 2008, never had this issue.Just dumb, circles, and lines in a view port, that have hidden or center linetyoes assigned to them. When we go to plot using legacy hidden (this new for 2012?) the plot comes out with continuous lines. These are not solids. Just ordinary line entities.Now, when I change the shadeplot to "hidden" the linetype is shown correctly, but now my entities are coloured, when I just want my drawing to be black and white (going to PDF), even though all of the colours in the pen style are set to "Black".
Has this changed? Is there a new variable introduced?
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 inserted an image into my AC drawing. I’m doing a drawing in 3D starting from this image, using solids and regions. When the visual style is set to Realistic I can see the image but when I change to X-Ray all I can see is black and white points instead of the image.
See attached file
Funny thing is that yesterday it was working perfectly, meaning I could see the image in X-Ray mode, but today it doesn’t work! I don’t understand.
I have already made a new drawing, check with other images formats, and it doesn’t work
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".
I have inside every text,Mtext contents different text style like Arial_1 , Arial_2.
How i can give all the contents inside one style ? the normal procedure i will enter inside text to enter editing mode and changing text format style one by one. I want it once.
I want to save my routing of entering every text to change its content text style.
(Notice:select all from outside without editing mode will not do the job)
are there any possibilitys that i can change my dimension style in a way that dimensions with less than a meter are shown as centimeter, for example 0,50 (m) are shown as 50 (cm).
In the old versions of autoCAD I could select everything in the drawing and use the text style pull-down to select the text style I wanted all of the existing text to be and it would change it when the style was selected. Is there not a way to do this in AutoCAD 2011 without using the quick select feature in the properties dialog box?
I solved the same problem with dimensions by turning the dimension toolbar on but the text toolbar doesn't have the style as an option on it.
I have some radial dimensions that I want to change to my current dimstyle. I can not see a way to change them. If I select one and check it's properties, the "Dim Style" biox is greyed out and can not be changed.
Is there a way to change the text styles, lets say from "Standard" to "Romans", all at once within an attributed block, or do you have to update each tag attribute individually?
I've wrriten a script that will create custom annotative scales and a new text style. (It works fine up to that point) The next steps I'm trying to add to the script is to select a text object, set it to the new style, make it annotative and add all of the annotative scales to that text object. CHPROP allows me to make the text object annotaive but I haven't found a command that will let me change the style or add annotative scales to the text object. Any commands I can use in a script to do this ? (or know if this is even possible)? I have 2000+ drawings I need to run this one, I hope I can find the commands to script this with.
I am working with a template, that doesn't allow me to change the dimension style. In the project the Use Style Library is set to Read/Write. I have created my dimension style, at this point just a copy of the ANSI standard with a text size difference. I went to my template and set that syle as my default, and saved it. Now the fact that it doesn't automatically update the drawing I had alreadycreated is a nuisance, however if I creat a new drawing, the style has reverted to a different standard, that is not even the ANSI default. If I right click a dimension and change the dimstyle to what I saved it does update, but if I try to change the style again it defaults to a random dimstyle, AND changes the style even if I hit cancel. So... the question is how to make the changes stick?
When i try and plot my 3D model in the Hidden style, so it simply looks like a black line drawing the plot comes out weird. The plot for some reason adds a thick black line around my entire plot, and makes all the other lightweights look faded out. How can i fix this??primary bar 3-Layout2.pdf
I'm using 2D wireframe as my default view while extruding some solid pipes. Everything appears to work fine, but when I switch to any other shademode eg. 3D wireframe, some of the pipes disappear. In Navisworks they show up as listed objects in the selection tree but cannot be displayed and more imporantly do not get considered in clash detection.
I can't see anything different about the properties of the "hidden" pipes over any others that can be seen.
If I slice the "hidden" solids, then one half or both halves become visible like a normal solid again.
I have hundreds of pipes to model and clash so need to resolve what's happening here. Attached is a small sample file.