Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor and UCS

56 REPLIES 56
Reply
Message 1 of 57
NachitoMax
3024 Views, 56 Replies

Inventor and UCS

NachitoMax
Advisor
Advisor

Hey

 

Why do the part and assembly files orient to the wrong UCS? Even after corrected, they will open reverted to the old orientation.....

 

The files seem to be set as YZX instead of XYZ. I know some will say you can change it by renaming the cube view but that doesn't fully resolve the issue.

 

It's important to get UCS right especially when sharing files. We found that our old templates were not UCS oriented properly from the template files and when we shared with contractors, our files were rotated 90 degrees out of UCS. So we fixed them but the rotation doesn't quote work and when we open them, they rotate back to the old view... Can it be fixed or is it another one of those inventor things?

 

 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Inventor and UCS

Hey

 

Why do the part and assembly files orient to the wrong UCS? Even after corrected, they will open reverted to the old orientation.....

 

The files seem to be set as YZX instead of XYZ. I know some will say you can change it by renaming the cube view but that doesn't fully resolve the issue.

 

It's important to get UCS right especially when sharing files. We found that our old templates were not UCS oriented properly from the template files and when we shared with contractors, our files were rotated 90 degrees out of UCS. So we fixed them but the rotation doesn't quote work and when we open them, they rotate back to the old view... Can it be fixed or is it another one of those inventor things?

 

 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


56 REPLIES 56
Message 41 of 57
johnsonshiue
in reply to: NachitoMax

johnsonshiue
Community Manager
Community Manager

Hi Natchito,

 

Here is a set of iam and ipt templates on Inventor 2020. Please show me a workflow that you can make it Y-up without redefining the ViewCube.

 

Chris,

 

I am sorry I did not try the exact steps you describe here. However, if I recall correctly, the default Base View direction is defined in the active drawing standard -> View Preferences -> Base View. There you can dictate which plane or view the model comes in by default. I don't have 2010 to test any more. I think the same setting should be there too.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Hi Natchito,

 

Here is a set of iam and ipt templates on Inventor 2020. Please show me a workflow that you can make it Y-up without redefining the ViewCube.

 

Chris,

 

I am sorry I did not try the exact steps you describe here. However, if I recall correctly, the default Base View direction is defined in the active drawing standard -> View Preferences -> Base View. There you can dictate which plane or view the model comes in by default. I don't have 2010 to test any more. I think the same setting should be there too.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 42 of 57
cadman777
in reply to: johnsonshiue

cadman777
Advisor
Advisor

Thanx Johnson.

Mine has only 4 options:

XY Plane

YZ Plane

XZ Plane

From Model

So how can I use that to bring in a 3d model so it replaces the opposite hand model in the correct orientation?
I can't figure out how to do it.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Thanx Johnson.

Mine has only 4 options:

XY Plane

YZ Plane

XZ Plane

From Model

So how can I use that to bring in a 3d model so it replaces the opposite hand model in the correct orientation?
I can't figure out how to do it.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 43 of 57
CCarreiras
in reply to: NachitoMax

CCarreiras
Mentor
Mentor

@NachitoMax 

Try these templates.

CCarreiras

EESignature

0 Likes

@NachitoMax 

Try these templates.

CCarreiras

EESignature

Message 44 of 57
johnsonshiue
in reply to: cadman777

johnsonshiue
Community Manager
Community Manager

Hi Chris,

 

"From Model" is the option to look at the model in ViewCube Front. As long as the Front is defined consistently, this option should always bring in the model by looking at the front view.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Hi Chris,

 

"From Model" is the option to look at the model in ViewCube Front. As long as the Front is defined consistently, this option should always bring in the model by looking at the front view.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 45 of 57
W.Versin
in reply to: NachitoMax

W.Versin
Participant
Participant

It is still bonkers, cos when you position everything good, start a sketch like you said, it still rotates wrong.

When you turn on coordinate system in sketch environment, you see it still had wrong orientation...

WVersin_0-1673535946346.png

Here i set my adjusted my cube, planes, home position, front view... al you want. 

sketch still says y is up when below it says z is up 0.0

WVersin_1-1673536086256.png

 

0 Likes

It is still bonkers, cos when you position everything good, start a sketch like you said, it still rotates wrong.

When you turn on coordinate system in sketch environment, you see it still had wrong orientation...

WVersin_0-1673535946346.png

Here i set my adjusted my cube, planes, home position, front view... al you want. 

sketch still says y is up when below it says z is up 0.0

WVersin_1-1673536086256.png

 

Message 46 of 57
NachitoMax
in reply to: W.Versin

NachitoMax
Advisor
Advisor

Which is what i mean by Inventor still forcing Y up even if the files are reset to Z up. countless times ive opened a file and its oriented Y up with the model on its back File is Z up but inventor persists its built in Y up.

 

the attached screengrab shows what i mean. regardless of settings to stop rotation when starting a sketch, the file is setup with a Z up and viewcube to match. when the sketch is started, it rotates back to a Y up orientation.

 

I know that the rotation can be turned off but in the demo, its showing that inventor still assumes Y up.

 

it may not be an issue and we can all get around it but why? why does inventor default to Y up when every aspect of fabrication is Z up?

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes

Which is what i mean by Inventor still forcing Y up even if the files are reset to Z up. countless times ive opened a file and its oriented Y up with the model on its back File is Z up but inventor persists its built in Y up.

 

the attached screengrab shows what i mean. regardless of settings to stop rotation when starting a sketch, the file is setup with a Z up and viewcube to match. when the sketch is started, it rotates back to a Y up orientation.

 

I know that the rotation can be turned off but in the demo, its showing that inventor still assumes Y up.

 

it may not be an issue and we can all get around it but why? why does inventor default to Y up when every aspect of fabrication is Z up?

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 47 of 57
cadman777
in reply to: johnsonshiue

cadman777
Advisor
Advisor

Thanx Johnson.

Actually, I tried 'From Model', but couldn't get it to cooperate.

Are you telling me that the ViewCube>Front will determine how a model comes into Inventor?

Otherwise, I can't be the only one who wants to swap out models to re-user drawing views, can I?

It's so basic a need and desire, and such a time saver(!), that I can't imagine that anyone else wouldn't want it??

So what I want to know is, how can I make a model come into a copied drawing view (swap it w/the existing base model), if the new model is made on a plane that is at a right angle to the existing model's make-plane?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Thanx Johnson.

Actually, I tried 'From Model', but couldn't get it to cooperate.

Are you telling me that the ViewCube>Front will determine how a model comes into Inventor?

Otherwise, I can't be the only one who wants to swap out models to re-user drawing views, can I?

It's so basic a need and desire, and such a time saver(!), that I can't imagine that anyone else wouldn't want it??

So what I want to know is, how can I make a model come into a copied drawing view (swap it w/the existing base model), if the new model is made on a plane that is at a right angle to the existing model's make-plane?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 48 of 57
cadman777
in reply to: NachitoMax

cadman777
Advisor
Advisor

Is it possible that the Y-up in the Sketch is merely COSMETIC and not realistic based on the WorldAxes?

In other words, no matter which plane you Define your Sketch on, when it opens for edit, it will always SAY 'Y-up'?

OK, now I get it.

But since I always FIRST pick the Plane the Sketch will be Defined on, I never noticed this until now!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Is it possible that the Y-up in the Sketch is merely COSMETIC and not realistic based on the WorldAxes?

In other words, no matter which plane you Define your Sketch on, when it opens for edit, it will always SAY 'Y-up'?

OK, now I get it.

But since I always FIRST pick the Plane the Sketch will be Defined on, I never noticed this until now!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 49 of 57

anthonyzepeda1969
Advocate
Advocate

Geez, all these replies just to end up at the same point as this thread started.

Inventor the only 3D software I have seen that orients the UCS with Y up and no plans to change that. 

And no I am not talking about the view cube. 

0 Likes

Geez, all these replies just to end up at the same point as this thread started.

Inventor the only 3D software I have seen that orients the UCS with Y up and no plans to change that. 

And no I am not talking about the view cube. 

Message 50 of 57
johnsonshiue
in reply to: NachitoMax

johnsonshiue
Community Manager
Community Manager

Hi Anthony,

 

That is not true. Our competitors have it Y-up also.

 

Hi Chris,

 

Yes, when the Model option is chosen, it should come in persistently. If it doesn't, we got a bug. Please share an example that the Front isn't the view direction after you replace the model source.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Hi Anthony,

 

That is not true. Our competitors have it Y-up also.

 

Hi Chris,

 

Yes, when the Model option is chosen, it should come in persistently. If it doesn't, we got a bug. Please share an example that the Front isn't the view direction after you replace the model source.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 51 of 57
NachitoMax
in reply to: johnsonshiue

NachitoMax
Advisor
Advisor

Your own software is Z up

Autocad

Navisworks

Dynamo 

Revit

3d max

Etc etc

All cnc programs

All beamsaw software

Blender

Sketchup 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Your own software is Z up

Autocad

Navisworks

Dynamo 

Revit

3d max

Etc etc

All cnc programs

All beamsaw software

Blender

Sketchup 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 52 of 57

anthonyzepeda1969
Advocate
Advocate

SolidWorks and NX have Z axis up, as well as most machine center software, i.e. GibbsCam.

 

 

0 Likes

SolidWorks and NX have Z axis up, as well as most machine center software, i.e. GibbsCam.

 

 

Message 53 of 57
cadman777
in reply to: johnsonshiue

cadman777
Advisor
Advisor

Hi Johnson,

So I finally got time to try this.

I made a model w/two separate FG railing assemblies.

Then I made a drg showing the first railing.

Then copied that drg to a new name.

Then changed the filename of the first railing assembly (so the drg couldn't find it).

Then opened the 2nd drg and when it errored (can't find the first railing assembly) I picked the 2nd railing assembly.

When it opened, the drawing view was incorrect compared to the original view orientation.

Before I did any of this I made sure I changed the view orientation in the 2nd railing assembly to match the first one.

Since I don't have the more recently added command that allows you to switch the view's base model, I have to do it the long way like described above.

So, either I'm doing something wrong, or there's more to it than this, or the newer Inventor versions fixed this shortcoming.

Any more ideas?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Hi Johnson,

So I finally got time to try this.

I made a model w/two separate FG railing assemblies.

Then I made a drg showing the first railing.

Then copied that drg to a new name.

Then changed the filename of the first railing assembly (so the drg couldn't find it).

Then opened the 2nd drg and when it errored (can't find the first railing assembly) I picked the 2nd railing assembly.

When it opened, the drawing view was incorrect compared to the original view orientation.

Before I did any of this I made sure I changed the view orientation in the 2nd railing assembly to match the first one.

Since I don't have the more recently added command that allows you to switch the view's base model, I have to do it the long way like described above.

So, either I'm doing something wrong, or there's more to it than this, or the newer Inventor versions fixed this shortcoming.

Any more ideas?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 54 of 57
johnsonshiue
in reply to: cadman777

johnsonshiue
Community Manager
Community Manager

Hi Chris,

 

It could be a bug in 2010 or the style was not set up properly. If possible, please pack up the files, zip it, and send it to me directly johnson.shiue@autodesk.com. I would like to take a look.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Hi Chris,

 

It could be a bug in 2010 or the style was not set up properly. If possible, please pack up the files, zip it, and send it to me directly johnson.shiue@autodesk.com. I would like to take a look.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 55 of 57
cadman777
in reply to: johnsonshiue

cadman777
Advisor
Advisor

Johnson,

It's not proprietary so I can post it in here (it's a mock-up example).

Find attached.

For H02.idw replace the base model with H02.iam (it's got H01 as the Base already).

What happens is, H02 comes in as the EndView instead of the SideView.

I would like to know what I can do to make it come in as the SideView correctly oriented.

Thanx!

 

 

UPDATE #1:

 

I did a test on this today to see if I could figure out what was preventing me from doing this and to see what may be the driving factors in swapping out models in drawing views. This is what I did:

1. Open a new assembly

2. Insert assembly 'B' into it

3. Reposition assembly 'B' so it is oriented the same as assembly 'A' with respect to the WorldAxes. 

4. Copy drawing of assembly 'A'

5. Change filename of assembly 'A' (I add a '-' at the end of the name before the extension)

6. Open the copied drawing

7. When it errors b/c it can't find assembly 'A', then pick assembly 'B'

8. Assembly 'B' comes in exactly as assembly 'A'

9. Re-attach all dimensions to assembly 'B' in the view.

Done!

 

There are problems with this method that have to do with iProperties and iLogic.

But the PartsList works fine b/c it's on PartsOnly.

 

Question:

Is there a way to change the WorldAxes in the assembly file using some kind of UCS so I don't have to do it using an extra assembly file for each assembly?

 

My goal is to re-use drawing views to save time and energy.

Thanx!

 

 

UPDATE #2:

 

I did another test to see if it worked.

This is nearly always a FrameGenerator model with an underlying sketch-part.

So I went into the assembly of one railing, then re-applied the Constraints of the underlying sketch-part so the sketch upon which the assembly is based is oriented like the assembly in the view I want to copy. When I substituted the original view base model with the new 'fixed' model, the view came in correctly. HOWEVER, changing every FG assembly base sketch is a LOT of work. AND the new assembly was at 90° to it's correct position in the top level assembly. In other words, it changed position in the top level assembly, which screwed up my 3d model so I had to change it back.

 

At this point I'm at a loss as to how to reuse existing dimensioned drawing views.

Isn't there a simple and easy way around this? 

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Johnson,

It's not proprietary so I can post it in here (it's a mock-up example).

Find attached.

For H02.idw replace the base model with H02.iam (it's got H01 as the Base already).

What happens is, H02 comes in as the EndView instead of the SideView.

I would like to know what I can do to make it come in as the SideView correctly oriented.

Thanx!

 

 

UPDATE #1:

 

I did a test on this today to see if I could figure out what was preventing me from doing this and to see what may be the driving factors in swapping out models in drawing views. This is what I did:

1. Open a new assembly

2. Insert assembly 'B' into it

3. Reposition assembly 'B' so it is oriented the same as assembly 'A' with respect to the WorldAxes. 

4. Copy drawing of assembly 'A'

5. Change filename of assembly 'A' (I add a '-' at the end of the name before the extension)

6. Open the copied drawing

7. When it errors b/c it can't find assembly 'A', then pick assembly 'B'

8. Assembly 'B' comes in exactly as assembly 'A'

9. Re-attach all dimensions to assembly 'B' in the view.

Done!

 

There are problems with this method that have to do with iProperties and iLogic.

But the PartsList works fine b/c it's on PartsOnly.

 

Question:

Is there a way to change the WorldAxes in the assembly file using some kind of UCS so I don't have to do it using an extra assembly file for each assembly?

 

My goal is to re-use drawing views to save time and energy.

Thanx!

 

 

UPDATE #2:

 

I did another test to see if it worked.

This is nearly always a FrameGenerator model with an underlying sketch-part.

So I went into the assembly of one railing, then re-applied the Constraints of the underlying sketch-part so the sketch upon which the assembly is based is oriented like the assembly in the view I want to copy. When I substituted the original view base model with the new 'fixed' model, the view came in correctly. HOWEVER, changing every FG assembly base sketch is a LOT of work. AND the new assembly was at 90° to it's correct position in the top level assembly. In other words, it changed position in the top level assembly, which screwed up my 3d model so I had to change it back.

 

At this point I'm at a loss as to how to reuse existing dimensioned drawing views.

Isn't there a simple and easy way around this? 

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 56 of 57
johnsonshiue
in reply to: cadman777

johnsonshiue
Community Manager
Community Manager

Hi Chris,

 

Many thanks for sharing the files! I can reproduce the behavior. I think this is a bug or a limitation in the Replace Model Reference workflow. When replacing the model, it seems that the view orientation is set to be the same in terms of XYZ, not the ViewCube. Though the view orientation preference has it set to the Front View, the actual view direction is still XZ (the Front in HR01).

To certain extent, it is understandable. It is because replacing the model source does not "recreate" the view. The view direction remains unchanged unfortunately.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Hi Chris,

 

Many thanks for sharing the files! I can reproduce the behavior. I think this is a bug or a limitation in the Replace Model Reference workflow. When replacing the model, it seems that the view orientation is set to be the same in terms of XYZ, not the ViewCube. Though the view orientation preference has it set to the Front View, the actual view direction is still XZ (the Front in HR01).

To certain extent, it is understandable. It is because replacing the model source does not "recreate" the view. The view direction remains unchanged unfortunately.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 57 of 57
cadman777
in reply to: johnsonshiue

cadman777
Advisor
Advisor

Thanx for verifying this Johnson.

 

So we can be sure now that the view orientation for drawing views is based on the model's orientation with respect to the WorldAxes.

 

Has anyone on the DevTeam even considered this as an obstacle to improving Inventor?

Do you know if they have any intention on fixing it so 'automatic drawings' can be easier to code?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes

Thanx for verifying this Johnson.

 

So we can be sure now that the view orientation for drawing views is based on the model's orientation with respect to the WorldAxes.

 

Has anyone on the DevTeam even considered this as an obstacle to improving Inventor?

Do you know if they have any intention on fixing it so 'automatic drawings' can be easier to code?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report