Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Zero Angle problem in sketch

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
493 Views, 4 Replies

Zero Angle problem in sketch

Anonymous
Not applicable

Hello Everybody,

I am designing a cylindrical part that have different diameters from each side with a transition angle between 

_Nico_77_1-1618221231669.png

depending on OD1/ID1/OD2/ID2 the transition angle will be 45 deg or zero

for example if OD1=OD2 I need to have this geometry below :

_Nico_77_2-1618221305293.png

 

and if OD2<OD1 I need this geometry below : 

_Nico_77_3-1618221349330.png

I wrote a rule that compares (OD1 with OD2) and (ID1 with ID2) and then change angle value (zero or 45 deg)

 

The problem is when I change OD1 and OD2 I have problems to change angle from zero to 45 deg, maybe Inventor does not understand in which direction he must turn the 45 deg and thus creating errors.
Could you please advise on this subject and how to resolve ?

Thank you

 

 

 



0 Likes

Zero Angle problem in sketch

Hello Everybody,

I am designing a cylindrical part that have different diameters from each side with a transition angle between 

_Nico_77_1-1618221231669.png

depending on OD1/ID1/OD2/ID2 the transition angle will be 45 deg or zero

for example if OD1=OD2 I need to have this geometry below :

_Nico_77_2-1618221305293.png

 

and if OD2<OD1 I need this geometry below : 

_Nico_77_3-1618221349330.png

I wrote a rule that compares (OD1 with OD2) and (ID1 with ID2) and then change angle value (zero or 45 deg)

 

The problem is when I change OD1 and OD2 I have problems to change angle from zero to 45 deg, maybe Inventor does not understand in which direction he must turn the 45 deg and thus creating errors.
Could you please advise on this subject and how to resolve ?

Thank you

 

 

 



Labels (3)
4 REPLIES 4
Message 2 of 5
bradeneuropeArthur
in reply to: Anonymous

bradeneuropeArthur
Mentor
Mentor
Accepted solution

I use always a dummy line under for example 1 degrees

then I put the angle as formula like:

you need 0 degrees = parameterX

my angle is then from dummy line 1+parameterX

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

I use always a dummy line under for example 1 degrees

then I put the angle as formula like:

you need 0 degrees = parameterX

my angle is then from dummy line 1+parameterX

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Message 3 of 5
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

Thank you @bradeneuropeArthur  for your reply,

your suggestion solved part of my problem.(I added vertical line with angle = 90+parameter)
But for some reasons, when I try to change diameters the angle jumps to the other direction like image below :

_Nico_77_0-1618232558070.png

Is there a way to make for example dimension B always greater than dimension A ?

 

or some sort of constraints to force point "b" to be always on right side of point "a" ?

_Nico_77_1-1618232991552.png

 



Thank you

0 Likes

Thank you @bradeneuropeArthur  for your reply,

your suggestion solved part of my problem.(I added vertical line with angle = 90+parameter)
But for some reasons, when I try to change diameters the angle jumps to the other direction like image below :

_Nico_77_0-1618232558070.png

Is there a way to make for example dimension B always greater than dimension A ?

 

or some sort of constraints to force point "b" to be always on right side of point "a" ?

_Nico_77_1-1618232991552.png

 



Thank you

Message 4 of 5
bradeneuropeArthur
in reply to: Anonymous

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Always take less then Round value.

Like 89.235 degrees

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

0 Likes

Always take less then Round value.

Like 89.235 degrees

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Message 5 of 5
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
Accepted solution

thank you @bradeneuropeArthur  for your reply

I solved it by using linear dimensions instead of an angle and it seems to work ( I will keep in mind not to use round values in the futur)

_Nico_77_0-1618300633810.png


Thank you

thank you @bradeneuropeArthur  for your reply

I solved it by using linear dimensions instead of an angle and it seems to work ( I will keep in mind not to use round values in the futur)

_Nico_77_0-1618300633810.png


Thank you

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

Post to forums  

Autodesk Design & Make Report