Is it possible to half section parts via the API ?

Is it possible to half section parts via the API ?

rogmitch
Advocate Advocate
824 Views
2 Replies
Message 1 of 3

Is it possible to half section parts via the API ?

rogmitch
Advocate
Advocate

 

I thought it would be easy to create some one click buttons in my toolbar for half sectioning through parts and assemblies at the origin planes. It can be a pain to constantly scroll long feature trees to find the origin folder.

 

It looks like the 'AssemblyHalfSectionViewCmd' should work for assemblies but I could find nothing for parts.

 

Does anyone know if there is a method for half sectioning parts via the API.

 

Many thanks,

 

Roger Mitchell

0 Likes
Accepted solutions (1)
825 Views
2 Replies
Replies (2)
Message 2 of 3

MechMachineMan
Advisor
Advisor
Accepted solution

Half a minute of some google fu....

 

https://forums.autodesk.com/t5/inventor-customization/create-modify-design-views-in-ipt/m-p/7477115/...

 

And there was some interesting reading in the other half minute....

 

https://forums.autodesk.com/t5/inventor-customization/vba-halfsection-view/td-p/4960942


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
Message 3 of 3

rogmitch
Advocate
Advocate

Thanks Justin

,

Obviously my googling wasn't up to scratch today as I did not spot that first link.  It looks like it should do the trick.

 

 

Roger