AutoCAD Inventor :: Rotate New Workplane Along A Default Axis With API
Nov 5, 2011
How do you create a new Workplane from a Defualt Plane and rotate it along a default Axis?I am new to API and trying to create workplanes and rotate them along a Axis.
Im trying to use "AddByPlaneAndOffset" is this the right method?
View 8 Replies
ADVERTISEMENT
May 31, 2013
how to rotate a work plane around a circular axis ? I have a work plane on the end of a tube, I need the work plane set at an angle.
View 1 Replies
View Related
Dec 2, 2011
I am trying to create a wheel that can be rotate about the horizontal axis. It should have a hole for axle to fit through. However, when I try to do this it will not let me select the horizontal axis to rotate about. I also tried to rotate about a center line that I created but it wouldn't do that either..
Windows 7 64-bit (Service Pack 1)
3.40 GHz Quad Core processor w/ Hyperthreading
8GB Ram
ATI Radeon HD 6450 1GB Ram
View 9 Replies
View Related
Nov 16, 2011
I'm trying to rotate a piece in an assembly by a selected axis to a precise angle, but the program just won't let me. I get to rotate it around with my mouse, but it only lets me change the angles at 5 degrees minimum. I try to type in a precise angle into the box, but it only lets me type in 1 character. Below is a screenshot of what I mean (I'm using Inventor 2011).
[URL]....
It either only lets me put in the first digit or won't let me manually change the value at all. What is up with this? The tutorials clearly says I can put in a arbitrary value.
View 7 Replies
View Related
Jun 2, 2013
is there a way to tell Inventor to align the view to be perpendicular to the Origin axes when View Face or Sketch on face is selected?
It is most disturbing to have to work with the view cube once in the Sketch just to have it make sense?
This is in Inventor Pro 2012.
View 3 Replies
View Related
Sep 28, 2013
Although the part, marked in blue in the picture, has, to my opinion, degrees of freedom, i cannot rotate it round the main assembly axis, the Z axis.
Maybe it's connected to the 2 holes underneeth it, which i projected?
Or maybe because of the axis i made through the M24 thread?
View 1 Replies
View Related
Jun 18, 2013
I am trying to get a disc (Coin) to continuously rotate 360 degrees on its vertical axis.
View 5 Replies
View Related
Aug 25, 2010
Is it possible to automatically project the x-axis, z-axis or z-axis onto the sketch plane?
I.e. every time you open a new sketch the corresponding lateral and vertical axis will be projected onto the sketch.
View 9 Replies
View Related
Mar 22, 2012
when you have a 3D-object, with a specific origin, i would like to know how it is positioned in space, X, Y, and Z coordinates, but also A, B, and C (like Tilt, Roll, Pitch), where A is rotation Angle around Z-axis, B around Y-axis, and C around X-axis. I am using this for a kuka robot
i can change the position of the UCS, but don't know how to only rotate the ucs about the Z-axis
'--- Set origin of UCS icon
acUCSTblRec.Origin = Psource(0)
acUCSTblRec.XAxis = Psource(0).GetVectorTo(Psource(1))
acUCSTblRec.YAxis = acUCSTblRec.XAxis.GetPerpendicularVector
View 2 Replies
View Related
Jun 27, 2012
The behavior in AutoCAD 2012 has changed with regard to the UCS command. I am trying to rotate my UCS along the Z-axis.
In 2011, I could enter UCS [enter] Z [enter] then select 2 points on *any* line using END point osnaps to have the ucs rotate along the Z-axis at the angle of the selected line.
Now in 2012 when I enter UCS [enter] Z [enter], a rubber-band line displays anchored from a pre-selected point which appears to be the drawing origin, usually 0,0,0. I am only allowed to select a single point, which results in the UCS NOT rotating to match the line as before.
I am aware that I could now use the OBject option, and then select one end of the line. This is fine except it does not work if I select a line that is part of an attached xref. With the old method in 2011, I could select 2 points of *any* line.
I am also aware that I could "type" in a value in both cases above but that option is too time-consuming and error-prone. Are there any legacy options available for the UCS command to make it work as before? Or is there a way to override the UCS-Z command option to not pre-select the first point at the drawing origin?
View 6 Replies
View Related
Dec 5, 2013
This week I upgraded from 2011 to 2014 and have noticed a major change in rotating the UCS around only the Z-axis.
Looking at the image below (the blue box is just to represent the relationship between the pipes):
I want to, as a simple example, rotate the UCS around the Z-axis from the end of one pipe to the end of the other. In 2011 UCS, Z would allow me to select the end of one pipe and the end of the other and rotate to the angle of the red line shown.
In 2014 UCS, Z rotates the UCS from some unrelated point.
In 2014 UCS then selecting the two ends rotates the UCS X-axis to the direct line between the two.
In a working scenario the end of the two pipes would be in vastly different positions. Drawing a line between them, flattening it then using UCS, E on the flattened line give the functionality I want, but is a very slow way of doing it.
In 2011 if I wanted to rotate the UCS around the Z-axis I would type UCS, Z then select 2 points and the UCS would rotate around the Z-axis but the X & Y axis would remain as it was. This is no longer the case in 2014, how do I do this now?
View 4 Replies
View Related
Jan 18, 2013
DSCF9856.jpg
Hand rail.dwg.
I have tried to rotate this railing in 3D so that it looks like this photo but I can't. I've tried several different things with the UCS but clearly I don't know what I'm doing. So I'm turning to the CAD community that does. I can draw the hand rail no problem. But the drawing always leaves the finished hand rail in the X,Y plane. I need to rotate it in the Z axis (I think). Here is the orientation I want the railing to look once it's drawn. I need a step by step procedure so I can learn how to do this the correct way for future reference.
View 9 Replies
View Related
Dec 4, 2013
This week I upgraded from 2011 to 2014 and have noticed a major change in rotating the UCS around only the Z-axis.
Looking at the attached image (the blue box is just to represent the relationship between the pipes):
I want to, as a simple example, rotate the UCS around the Z-axis from the end of one pipe to the end of the other.
In 2011 UCS, Z would allow me to select the end of one pipe and the end of the other and rotate to the angle of the red line shown.
In 2014 UCS, Z rotates the UCS from some unrelated point.
In 2014 UCS then selecting the two ends rotates the UCS X-axis to the direct line between the two.
In a working scenario the end of the two pipes would be in vastly different positions. Drawing a line between them, flattening it then using UCS, E on the flattened line give the functionality I want, but is a very slow way of doing it.
there is no way of selecting 2 points for a Z-axis rotation.
TL;DR
In 2011 if I wanted to rotate the UCS around the Z-axis I would type UCS, Z then select 2 points and the UCS would rotate around the Z-axis but the X & Y axis would remain as it was. This is no longer the case in 2014, how do I do this now?
View 1 Replies
View Related
Nov 8, 2012
How to rotate the X Axis in the Crosshair? See picture attached.
View 3 Replies
View Related
Dec 19, 2013
Lisp routine or macro that will either rotate or align selected objects so they are parallel to an axis on the current UCS?
Specifically, when placing mtext to label an object. I typically align my ucs to the object then create the text so it is parallel to the object. It would be great if I could create the text with a rotation of 0, align my ucs to the object to be labeled and then with a single click, select the text making it parallel to the X axis.
View 5 Replies
View Related
Jul 3, 2012
I'm inserting blocks with lisp using the following code.
(defun C:test()(setq MYPOINT (getpoint "
Select an insertion point"));(command "_-xref" "attach" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" "_Scale" "1" MYPOINT)(command "insert" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" MYPOINT "" ""))
The lisp however only allows me to rotate in the x-y plane but I also want to rotate it in the z-axis hoe can I do this?
I also tryed to combine a 3d rotate to the code, as follows but to no success...
(defun C:test() (setq MYPOINT (getpoint "
Select an insertion point"));(command "_-xref" "attach" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" "_Scale" "1" MYPOINT)(command "insert" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" MYPOINT "" "");Rotates the item in the z axis...(setq MYANGLE (getstring "
Specify rotation angle for the Z-axis "))(command "_Rotate3D "_x" "LAST" "" "last" MYANGLE ))
View 3 Replies
View Related
Mar 25, 2013
i try to make an animation. I create a cylinder and i want to rotate it by longitudinal axis. i click 'components', select the cylinder and after i click 'position' to select the axis that axis system appears in the right side of the cylinder not in the middle. If i continue whit this settings the cylinder will rotate by a circle not by his longitudinal axis. How can i move that axis sistem in the middle of the cylinder? I can drag it but can't place it exactly in the middle.
View 1 Replies
View Related
Jul 31, 2012
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] ......
View 1 Replies
View Related
Feb 24, 2012
I am trying to rotate 30 degrees along an axis.
In Rhino, it is simply using Rotate3D -> pick your axis of rotation -> type degrees -> enter
In Max, how do I pick an axis rather than world XYZ?
I'll upload pictures for details
View 2 Replies
View Related
Dec 23, 2011
I'm trying to rotate a group of objects along an axis that is not x y or z. The objects are imported from Rhino. I also import a line representing that rotation axis. How do I set that line to be my axis?
View 1 Replies
View Related
Jun 27, 2012
Is there a way in gimp to rotate a 2D image (e.g. BMW%20M3%20-%202002%20-%2003.jpg) about the Y Axis? I tried GMIC but that rotates the layer in 3D. I would like to create a view of the front of the car or any any in between.
View 6 Replies
View Related
Aug 12, 2013
I want to put my iFeature on my workplane,but i can't.However, if I change my PlaneInput = oFace , it can work perfectly.My program is below:
Private WithEvents oInteraction As InteractionEvents
Private WithEvents oselect As SelectEvents
Private Sub UserForm_Initialize()
Set oInteraction = ThisApplication.CommandManager.CreateInteractionEvents
Set oselect = oInteraction.SelectEvents
[code]...
View 1 Replies
View Related
Nov 24, 2012
Is it possible to rotate images in all axis in PSPx5? If not, any tip to a program doing so working with PSPX5?
View 2 Replies
View Related
Dec 3, 2012
I want to use a lofted solid as a component in an assembly. I am using a top-down approach with 2D blocks to get the kinematics right before creating the components.
My problem is that the sketches needed to create the loft are on workplanes, and those workplanes are fixe with respect to an absolute coordinte system.
Is there a way to assosiate workplanes with a block instead, so that they will move with the part?
Is it possible that the problem is trying to do this in a part file, and that if I place the finished solid in an assembly it will then be able to move? ( I am fairly new to Inventor.)
View 1 Replies
View Related
Jan 6, 2014
I created a sketch on a 'fixed workplane' and extruded it. I would like to know if it is possible to move the workplane? I understand I can change the workplane if it is a 'plane by offset from plane'.
If moving a fixed workplane is possible, does the extruded features move along together?
View 2 Replies
View Related
Oct 26, 2010
If there is a quick easy way to spin an object, rotate it on one axis through the 360 degrees a number of times.
View 2 Replies
View Related
Nov 22, 2011
Is it possible to change the colour of User Workplanes in IV 2011?
Autodesk Inventor 2013-64Bit Edition
Intel Xeon W3520 @ 2.67GHz
Win 7 Pro
6.7 System Rating
NVIDIA Quadro FX 1800
View 1 Replies
View Related
Nov 14, 2012
I am working on a project were I need to select a face and create a workplane out of such face, see the figure attach. my language of choice is C#.
Here is what I think it should be done, my proble is that the oWork (the workplane I just created remains null) and the whole project crashes.
private Inventor.Application mApp = null;.....if (((mApp.ActiveDocument != null))){
if ((mApp.ActiveDocument.DocumentType == DocumentTypeEnum.kPartDocumentObject)){
PartComponentDefinition oPartCom = mApp.ActiveDocument as PartComponentDefinition;
PartDocument oDoc = mApp.ActiveDocument as PartDocument;if ((oDoc.SelectSet[1]) is Face){
System.Windows.Forms.MessageBox.Show("You just selected a surface", "Surface Evaluator");Face oFace = oDoc.SelectSet[1] as Face;
WorkPlane oWorkpl = oFace as WorkPlane;
PlanarSketch oSketch = oDoc.ComponentDefinition.Sketches.Add(oWorkpl, false);
//WHAT AM I DOING WRONG?
}}}
View 4 Replies
View Related
Jul 31, 2012
I have some models which are based on skeleton modeling and where the actual parts are modeled at the position where they are in the assembly. When the skeleton part is changed the parts will update and their orientation related to the origin planes can change. This is where the problem lies, on the drawings of these parts the views are all skewed after an update.
Is it somehow possible to tell Inventor that all views on a a drawing should stay alligned to a workplane? Because it are all parts and no assemblies I cannot use posreps (and I don't want to use dummy assemblies). I also tried setting a specific edge to be horizontal with the rotate command in the drawing. This works for the base view, but all projected views will still be skewed after an update.
View 2 Replies
View Related
Oct 15, 2004
I have assembly file in which I have created a work plane "Work Plane19" . Now I wanted to create a new work plane which will be paralle to workplane "WorkPlane19" & offset by 10.5 mm in same assembly document through VBA subroutine. I have tried with following code but getting error,
Public Sub NewWorkPlaneCreate()
Dim oAssly As AssemblyDocument
Set oAssly = ThisApplication.ActiveDocument
[Code].....
View 6 Replies
View Related
May 18, 2006
How can I create a workplane with the API that is tangent to a surface and passes thru a workpoint. It is easy to create a work plane of type kPointAndTangentWorkPlaneDefObject by point and click in Inventor 11, but I can't figure out how to do it in the API.
View 5 Replies
View Related