Using Rules to adjust dimensions

Using Rules to adjust dimensions

Anonymous
Not applicable
362 Views
1 Reply
Message 1 of 2

Using Rules to adjust dimensions

Anonymous
Not applicable

Hi all,

 

I am trying to adjust a set of dimensions when a user parameter is set but can't get my code to run.

 

My code is as follows;

 

 

If S1=2 Then d87=19.1,d86=152,d88=78,d85=92.1,d89=63,d104=60.3

End If

If S1=4 Then d87=23.9,d86=229,d88=135,d85=157.2,d89=76,d104=114.3

End If

 

Could someone help me fix this.

 

Thanks

0 Likes
Accepted solutions (1)
363 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor
Accepted solution
If S1=2 Then 
d87=19.1
d86=152
d88=78
d85=92.1
d89=63
d104=60.3

End If

If S1=4 Then 
d87=23.9
d86=229
d88=135
d85=157.2
d89=76
d104=114.3

End If

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
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:
My 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 !


 


EESignature