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: 

Change Sketch Properties

3 REPLIES 3
Reply
Message 1 of 4
abilabib
334 Views, 3 Replies

Change Sketch Properties

How to select entity filter by sketch name dan propeties using VB or VBA.

for example I have 2 shape : Rectangular and Circle with diffrent propeties.

Sometimes I want to select rec and make it become construction and circle still in normal line andSometimes I want to select cicle and make it become construction and rectangular still in normal line.

 

Thanks,

 

Abi Labib 

3 REPLIES 3
Message 2 of 4
xiaodong_liang
in reply to: abilabib

Hi,

 

Before you start InteractionEvents and SelectEvents, you can specify the SelectionFilter, by SelectEvents.AddSelectionFilter. The enum SelectionFilterEnum provides 

 

kSketchCurveLinearFilter

kSketchCurveCircularFilter 

 

Message 3 of 4
abilabib
in reply to: abilabib

Hi Xiaodong Liang ,

 

Thank for your reply. Can you give me sample code for this case.

 

Regards,

 

Abi Labib

Message 4 of 4
xiaodong_liang
in reply to: abilabib

In the API help document, a tutorial introduces how to implement InteractionEvents step by step. The attached snapshot indicates where the topic is. And the API help reference locates at <Inventor Installation path>\help_lite\admapi_16_0.chm.  16 means Inventor 2012.

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

Post to forums  

Autodesk Design & Make Report