AutoCad 3D :: Visual Styles / Cannot Move Viewcube
Feb 26, 2011when i add a visual style to a shape or object it asks for, Command: Specify opposite corner:
i cannot move the viewcube and i cannot edit this object.
when i add a visual style to a shape or object it asks for, Command: Specify opposite corner:
i cannot move the viewcube and i cannot edit this object.
I want to create 2 visual styles for buildings in autocad 2011, I have the main building then a proposed extension to it! I want to show the original building in say x ray visual style n extension in realistic?
I could do something in paperspace using polygonal viewports, but unsure how to do this?
The problem seems very simple. My 'conceptual' or any other visual style viewports plot pixelated, while the legacy wireframe plots perfect. It pixelates everything, linework, edges, fonts. Of course I could just use wireframe, but then what is the point of visual styles I can't use?
In the same drawing with more than one viewport, the viewport with any visual style other than wireframe will mess up while the other one is fine. I have tried every printer, pdf printer, and all the dpi settings I can get ahold of.
Why the following options are disabled in the block editor.
3drotate
new ucs
visual styles
Where I can find a improved block editor plug-in.
Is there any way to change the colors of the dimensions styles, including dimension lines, extension lines and text to "by layer"
I found a code to change the colors, but only affects the current dimensions in the drawing and the styles do not change.
Is ther a way to purge all civil 3d styles in a macro or lsp. -purgestyles does not seems to work. I have not worked with lsp for a while just getting back into it again.
I have seen this used for purge (vla-purgeall File) and (vla-AuditInfo File T) for audit can we somethging like this with purgestyles or some how echo off the dialog that comes up. seemslike purgng styles should be just as simple a an audit or purge, but is seem more complex.
Attached LISP will toggle the 'Display Plot Styles' for all layout tabs or the current layout tab. In 2010 it would not affect model space.
With 2012, AutoCAD added 'Display Plot Styles' as an option on the model space tab. This routine now affects that tab.
How to make it not change this setting for the model space tab?
Would like to have this script in my template for assemblies. So when user opens up the assembly it changes the visual style automatically.
View 2 Replies View RelatedI am trying to create an mtext entity using entmake with different text height, text style and underlining. I have a subroutine that works fine. However - I would like to use different text height, text style and underline for the Title Text vs the following lines.
Here is the subroutine I already have -
(defun Create_MText (MT_PMS MT_Layout MT_Layer MT_Style MT_Justify MT_Point MT_Rotate MT_Size MT_Width MT_Title MT_Body / )
(setq FSC_MText
(list
(cons 0 "MTEXT")
[Code] .......
I am trying to control the visibility or visual style of the model but through the linked arch file. Everything is wireframe or simple black and white lines and I can see all my devices and equipment for the entire length of the building when I only want to see the devices in the room or where the camera is. It seems when I switch to hidden only my devices change no the linked arch model nor do any of my devices on the other side of the wall go away. I am sure for some the answer is simple but it is escaping me entirely. where I can better control the visual styles in my views of not just my own stuff but the other disciplines as well. Do I have to do anything to the linked files? Going through the Visibility Graphics Links tab doesnt seem to work either.
View 5 Replies View RelatedI wrote a lisp program which creates a selection set using ssget. Then I use the bounding box commands to get the lowest point of that selection set. Now I want to move that selection set as a whole using the vla-move command. Can we vla-move a selection set?
View 8 Replies View RelatedI have a lot of drawings with two tables in them, and they are all over the place.
I'm able to change the columns widths using the following
(setq PipeList (vlax-ename->vla-object (car (entsel))))
(vla-setcolumnwidth PipeList 0 0.25)
(vla-setcolumnwidth PipeList 1 0.25)
(vla-setcolumnwidth PipeList 2 2.0)
(vla-setcolumnwidth PipeList 3 1.5)
(vla-setcolumnwidth PipeList 4 1.625)
(vla-setcolumnwidth PipeList 5 1.0)
(vla-setcolumnwidth PipeList 6 1.75)
I'm wondering if I could modify the assoc 10 value to a specific point of '(8.5 10.3675 0.0).
I wrote a lisp program which creates a selection set using ssget. Then I use the bounding box commands to get the lowest point of that selection set. Now I want to move that selection set as a whole using the vla-move command. I am having trouble doing this. Is this possible? Can we vla-move a selection set? Is there a workaround?
View 2 Replies View RelatedI've got a strange problem with my ViewCube. My screen is showing the world ordinate system as it should in the standard plan view ( X horizontal,Y vertical); however, my ViewCube is skewed to the right about 30° (top view and rotated about 30° right). It is set to orient to the current UCS and the current UCS Is World. If I use the ViewCube to change the setting and orient it as top view orthogonal (north straight up) my view (UCS World) gets twisted left by about (not exactly) 30°.Am I missing something or is this abnormal ViewCube behavior?
Windows 7 Professional 64-bit - Service Pack 1
Intel﴾R﴿ Core﴾TM﴿ i7-3820 CPU 3.60GHz; 16 GB DDR3 Dual Channel RAM
nVidia Quadro 4000; AutoCAD Civil 3D 2013, sp1
I am having nearly 1000 drawings where I need to change the title block in a new format.
I am stuck up in moving all the entities in cordinates 15,280 (upper point) and 205,55 (lower Point) to 275,294 (upper point and correspoing lower point.
I need a program to move some selected text to a line something like as extend command but for text objects!
suppose that there is a horizental line (y=constant) or vertical line (x=constant) and some selected text(or other objects), I want a lisp program that move these selected text (or objects) by their "insertion point" to this line.
in other word, if the selected base line is horizental (y=constant) then property of "Y" of all selected text should change to line's "Y"; and if selected base line is vertical (x=constant) then value of "X" of all selected text should match to line's "X" value.
for example, for base vertical line (x=constant) and 3 selected text(or can be any object) result is:
text1. | text1.|
text2. | ===> text2.|
text3. | text3.|
| .text1 |.text1
| .text2 ===> |.text2
| .text3 |.text3
I use the following code to assign a reactor to an object:
(setq marReactor (vlr-object-reactor (list (vlax-ename->vla-object oggmar)) "TEST" '( (:vlr-erased . reactor_upd) (:vlr-modified . reactor_upd) ) ))
"reactor_upd" is the name of the function that starts every change or delete the object.
I would like to exclude the command "MOVE", ie if I move the object, I do not want that part to the"reactor_upd" function.
I have some general knowledge in lisp coding. But I can't seem to figure this one out (even to get started). What I want to do is make a lisp that:
- selects a line
then
- select any amount of text (any type)
then
- moves all the text to that selected line without rotating the text
if a line is perfectly horizontal then move the text of the y axis.
if the line is vertical then move the text of the x axis.
or there can be a prompt asking the user to chose the angle or axis in which the text will move (say if they want to move the text to a slanted line, you can choose to move the text on an angle, while keeping the same format and not rotating the text, or you can ask the user if they want to move it only vertically or horizontally)
I would really like the code to integrate into my autocad.
See pictures
I'm having an issue with using the SSGET to select a block so I can move it. I'm changing the UCS to be at the center of the top view in the program(user selects center) and the block is at 0,0,0 after changing the UCS. However when I use SSGET it doesn't select it. So I used:
(setq en(car (entsel "
Select a block :")))(setq enlist(entget en))
and it lists the DXF Code of 10 as
(10 15.0893 13.5165 0.0)
How can I then select it if I don't necessarily know where the block is going to be?
If needed: AutoCAD 2013 User using Visual LISP for editing LISP and DCL files Also I have AutoCAD 2011 currently still available for us, but we are using AutoCAD 2013 for 99.9% of AutoCAD use
Using Nentsel function, I can get info on a object that is nested with an Xref. Is there a way to move the selected object using ObjectDBX?
View 9 Replies View RelatedAn associate on campus asked me if there was a way to print the viewcube and compass when he plots a drawing. What he is doing is printing pdf's of different sections of the drawing, and wanting the compass to appear on each printed section.
View 4 Replies View RelatedI'd like to know if there are shortcuts for select views of the ViewCube. For example if I press alt+t I see the top view. This for all views of the cube. I also use Blender3d, it has shortcuts for views and it's very useful.
View 9 Replies View RelatedI set my template dwg UCS to world. The viewcube will straighten up, i.e. North points up on the screen. I save the template, start a new drawing using the template and my viewcube rotates every time. I have to reset the UCS to world. What would cause this?
View 2 Replies View RelatedI just got a newer computer and loaded autocad2012. If I use the viewcube to rotate to a front view and try to draw or dimension it only will draw on the "top" or XY coordinates while the screen is showing the xz. If I use the view tool bar and switch to the front view I can draw at will on the "front" and the ucs is showing I am drawing on the xy. How do I get the ucs to follow the view with the view cube like it does with the tool bar?
Now, I have checked the ucs settings ucsortho (1) ucsvp (1) ucsfollow (1) What else am I missing?
If I change view with the viewcube, then type ucs v. It will change the ucs to match the view. Why isn't it doing it automatically?
I found a program which rotates selected block(s) about thier insertion point. I modified it to rotate each of the block(s) about the y-axis. Works great. Now, I would like to change it so that it rotates a copy of each block about the y-axis and leaves the origial block in place. Its kind of like the mirror command exept it is rotating the new block(s) to the other side instead of flipping them. I want to keep all or the parameters of the block(s) the same as each original. I am using AutoCAD 2010. MOCORO is not recognized as a command. The new features workshop says to use the new command AMCOPYRM, which is not recognized either. Go figure.
(defun RotateDuplication (/ CN ENT theObjects SS)
(vl-load-com)
(setq SS (ssget (list (cons 0 "INSERT"))))
(repeat (setq CN (sslength SS))
(setq CN (1- CN)
ENT (ssname SS CN)
[Code] ......
I have code that will set and sae a current UCS to the front of an entity, of course, depending on the viewpoint. This is so, because we need all draft lines in front of 3D solids, such as dimensions, leaders for labels, text entities and so on (the reason for not putting these entities in paper space is another discussion ).
But I'll have on of two problems on numerous occasions:
1. The user forgets all together to run the command.
2. The user will pick the wrong entity that is in the foremost position in that view.
The code I have utilizes the following:
(setq ent (car (entsel)))
(vl-load-com)
(setq obj (vlax-ename->vla-object ent))
(vla-getboundingbox obj 'LowerCorner 'UpperCorner)
(setq LowerC (vlax-safearray->list LowerCorner))
(setq UpperC (vlax-safearray->list UpperCorner))
Then I'll analyze the X, Y and Z of both the lower and upper corners, and set my UCS to whatever is proper.
Is there a "LowerCorner" and an "UpperCorner" for all entities. I can't see "VSMIN" and VSMAX" working because the elevation of the returned coordinates is always "0,0"
I have a slightly unusual query that I can't seem to find a solution for elsewhere. I have an existing OS plan that is 'off grid', and would like to adjust the vertices at the ends of all the existing lines and polylines so that they all sit on a grid point, ie round all vertices to the nearest whole number. Is there a quick command or script that does this?
View 2 Replies View RelatedIf there any lisp for the below sequence:-
1) select a few group of pre-set block name
2) change all these pre-set bloack name to a layer " Eye Bolt"
At moment, i have several kind of block such as example of "EB10", "TEB10","EB8","TEB8" and etc.
I'm dabbling in lisp to reduce some drafting time. I'm looking for a way to move a named block left 5 inches. The names block in this instance is "Bricks". What would be the easiest way of writing this in lisp form? I searched through the forums and I couldn't find what I was looking for. This is not after an insert command. This is a block that currently exists in the drawing template.
View 9 Replies View RelatedAny lisp routine where you can select objects and do a global rotate, scale, etc. from each object's insertion point ?
View 9 Replies View RelatedI am working in C3D 2013 creating a new "clean" template and continue to have the problem of the view cube east and west getting flipped. I've had this problem occasionally in the past and by editing the GEOGRAPHICLOCATION seemed to solve this. Generally I noticed the "z" coordinate setting would flip from a "+" to a "-" thus causing the "e" & "w" swap. My problem is that this is no longer a permanent fix. Every time I open the dwg I am have to edit the GEOGRAPHICLOCATION.
I know I could just turn off the view cube and pretend I never saw this issue but I'm worried this may cause other problems when it comes to coordinates and survey data.
Infrastructure Design Suite 2014
Civil 3D 2013 sp2
Windows 7 x 64, 16 GB
Intel Xeon @ 2.80 GHz
NVIDIA Quadro K2000