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: 

VBA metod "Component Offset"

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
anton_voitin
252 Views, 8 Replies

VBA metod "Component Offset"

Hi all. I'm interested in how to get to the method of these commands in VBA. Thanks for any help

anton_voitin_0-1695582344067.png

 

8 REPLIES 8
Message 2 of 9

where is this original command found:
Part
Assembly

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 9

This is clear to me. I want to use this command in my macro. how can I apply it in VBA code? Is it possible to show an example?

Message 4 of 9

Yes I know.

But I need to know where the original command is located, then I can help your further!

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 9

FYI:  I believe that is one of the selection methods.

The online help for this can be found under the "Select Command Reference" topic.

https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-3E3537A9-565E-4F2E-B69D-069EDCDF1AE1 

There is usually a selection filter type drop-down in the Quick Access toolbar with something in its list labeled "Select Component Offset...".  I'm not familiar with it either.

WCrihfield_0-1695667948008.png

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 6 of 9
anton_voitin
in reply to: WCrihfield

Yes, this is the same method. Everything I found in the selection priorities. But I don’t see anything suitable or am I missing something?

anton_voitin_0-1695669164459.png

 

Message 7 of 9

It is an internal Command: AssemblyEnhSelComponentBBCmd

The Spherical Select is: AssemblyEnhSelSphereCmd

Both require user action.

Don't know if it's possible to program any input.

 

Call ThisApplication.CommandManager.ControlDefinitions.Item("AssemblyEnhSelComponentBBCmd").Execute

 

Message 8 of 9

Thank you very much. I tried searching among the commands but couldn't find it. And now you rubbed my nose in) Now I’ll try to work with this, thank you very much.

Message 9 of 9

Use EventWatcher from the SDK.

EventWatcher-02.jpg

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report