ilogic Annotation plane- set "use sheet plane" on the whole dimensions.

ilogic Annotation plane- set "use sheet plane" on the whole dimensions.

204Е10
Enthusiast Enthusiast
666 Views
4 Replies
Message 1 of 5

ilogic Annotation plane- set "use sheet plane" on the whole dimensions.

204Е10
Enthusiast
Enthusiast

Hi everyone,

 

I would like to know if someone know a illogic rule that be able to set the command "Annotation Plane>Use Sheet Plane" through the whole dimensions.

 

Note. I have attached a Screenshot with the problem that is generate.

My skills in ilogic are limited but I think the code could be something like the one shown below:


Sub Main()
Dim oDoc As DrawingDocument
oDoc = ThisDoc.Document

Dim oSheet As Sheet
oSheet = oDoc.ActiveSheet

On Error Resume Next
Dim oDim As GeneralDimension

For Each oDim In oSheet.DrawingDimensions.GeneralDimensions
If oDim.Type = ObjectTypeEnum.kLinearGeneralDimensionObject Then
ThisApplication.CommandManager.ControlDefinitions.Item("DrawingRAnnoPlanesUseSheet").Execute
End If
Next

End Sub

 

Cheers.

 

0 Likes
667 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

Hi, 

What version of inventor are you using?

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

0 Likes
Message 3 of 5

204Е10
Enthusiast
Enthusiast

Hi, this is the version I am using:

 

Inventor Professional 2019 64-Bit Edition.

Build: 330, Release: 2019.4.3

 

Cheers.

0 Likes
Message 4 of 5

alexanderboogaard
Enthusiast
Enthusiast

Hi,

 

Don't know if this is still relevant, but I believe you are having issues with the Dimension Type. I've had the same issue as you where dimensions were wrong on the drawing and I placed them on the sheet plane as well. Later I found out that the Dimension Type on the View was wrong.

You have to rightclick the view that you want to place the dimension in and than select the "General Dimension Type" and set it to projected.

A screenshot is included showing the difference between the "True" and "Projected" dimension types.

 

Kind regards,

 

Alexander Boogaard


Kind regards,
Alexander Boogaard
0 Likes
Message 5 of 5

bradeneuropeArthur
Mentor
Mentor

I don't see this option anymore in 2022 of Inventor.

@alexanderboogaard is correct I think in his statement.

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

0 Likes