Is it possible to change the margin on a drawingview in VBA?

Is it possible to change the margin on a drawingview in VBA?

Tiffany_Hayden_
Collaborator Collaborator
1,694 Views
16 Replies
Message 1 of 17

Is it possible to change the margin on a drawingview in VBA?

Tiffany_Hayden_
Collaborator
Collaborator

Is it possible to change the margin on a drawingview in VBA? 

 

Is ModelState-->Reference Data --> Margin Accessible? 

 

Capture.PNG

Tiffany Hayden
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.

EESignature

0 Likes
1,695 Views
16 Replies
Replies (16)
Message 2 of 17

HideoYamada
Advisor
Advisor

Hello Tifffany,

 

Unfortunately, it seems not to be exposed.

 

https://forums.autodesk.com/t5/inventor-customization/how-to-programatically-assign-the-margin-prope...

 

Would you post the request to the idea forum?

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
Message 3 of 17

Tiffany_Hayden_
Collaborator
Collaborator

@HideoYamadaWould it be possible with ilogic? If so I can use VBA to call the ilogic rule. 

Tiffany Hayden
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.

EESignature

Message 4 of 17

HideoYamada
Advisor
Advisor

Hi,

 


@Tiffany_Hayden_ wrote:

Would it be possible with ilogic? If so I can use VBA to call the ilogic rule. 


I'm not so good at iLogic, but I think it's impossible...

 

=====

Freeradical

 Hideo Yamada

 

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
Message 5 of 17

Tiffany_Hayden_
Collaborator
Collaborator

Okay! @HideoYamada I'll look into it. I have posted on the idea board though. Maybe it will get some traction. 

Tiffany Hayden
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.

EESignature

Message 6 of 17

maxim.teleguz
Advocate
Advocate

anyone figure out a way to do this yet

0 Likes
Message 7 of 17

Yijiang.Cai
Autodesk
Autodesk

Many thanks for posting the feedback to us, and it has been tracked as [INVGEN-64831] for investigation.

Thanks,
River Cai

Inventor Quality Assurance Team
Autodesk, Inc.
Email: River-Yijiang.Cai@autodesk.com
Message 8 of 17

Tiffany_Hayden_
Collaborator
Collaborator

@maxim.teleguz  No but I talked to a developer at AU this year and I am working with our Autodesk support to get it added. It's now under Investigation! yay! 

Tiffany Hayden
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.

EESignature

Message 9 of 17

Tiffany_Hayden_
Collaborator
Collaborator

Idea board post: 

https://forums.autodesk.com/t5/inventor-ideas/drawing-view-margin-reference-data-make-available-in-a...

Tiffany Hayden
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.

EESignature

Message 10 of 17

WCrihfield
Mentor
Mentor

This is very similar to one of the ideas I posted about back in late 2019 too.  My Idea was for some of the other settings on that same tab of the DrawingView dialog.

https://forums.autodesk.com/t5/inventor-ideas/drawing-view-model-state-hidden-line-calc-amp-line-sty... 

"Great minds think alike." 😉

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 11 of 17

Tiffany_Hayden_
Collaborator
Collaborator

@WCrihfield Thanks so much!! I added your idea to my idea. Hopefully, they see that there are lots of people that need this!! Thanks for your support! 

Tiffany Hayden
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.

EESignature

Message 12 of 17

Yijiang.Cai
Autodesk
Autodesk

This request is being investigated, and will keep you updated.

Thanks,
River Cai

Inventor Quality Assurance Team
Autodesk, Inc.
Email: River-Yijiang.Cai@autodesk.com
Message 13 of 17

maxim.teleguz
Advocate
Advocate

is this true?

maximteleguz_0-1689165660284.png

 

0 Likes
Message 14 of 17

Yijiang.Cai
Autodesk
Autodesk

@maxim.teleguz @Tiffany_Hayden_ I check it again, and find that I made the mistake about the delivery schedule. But we are actively working on this request, and will keep you updated later. Sorry for the confusion!

Thanks,
River Cai

Inventor Quality Assurance Team
Autodesk, Inc.
Email: River-Yijiang.Cai@autodesk.com
Message 15 of 17

Yijiang.Cai
Autodesk
Autodesk

This idea has been implemented within Autodesk Inventor 2024.2. Please review the Inventor 2024.2 API Help document.

Thanks,
River Cai

Inventor Quality Assurance Team
Autodesk, Inc.
Email: River-Yijiang.Cai@autodesk.com
Message 16 of 17

maxim.teleguz
Advocate
Advocate

if it has been implemented in a patch can you please port it to earlier versions?

Companies take there time upgrading to everything. we still use 2022 and I believe are going to 2023 start of 2024. 

Try to to think of the companies that actually need this never use the last software that comes out, because we would rather wait for all the bugs to be fixed over a year before we use it. 

Message 17 of 17

Tiffany_Hayden_
Collaborator
Collaborator

Very good point! 

Tiffany Hayden
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.

EESignature

0 Likes