Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change axis direction of a coil using ilogic?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
794 Views, 1 Reply

change axis direction of a coil using ilogic?

hello,

 

I am looking for a way to flip the axis direction of a coil feature, i know how to change the rotation of the coil but can't find a way to change the direction of the axis of revolution?

 

is there also a way to see al the different properties of the type coilfeature? This is the only property i could find for the coil feature.

Feature.InventorFeature("Coil1").ClockwiseRotation

All help is appreciated

 


1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

okay already found a great solution.

 

follow the tutorial in this link:

http://modthemachine.typepad.com/my_weblog/begging-api/

 

copy and paste this vb code,

 

Public Sub DebugObject()
    Dim oDoc As Document
    Set oDoc = ThisApplication.ActiveDocument
    Dim oObj As Object
    Set oObj = oDoc.SelectSet.Item(1)
    Stop
End Sub

 

select coil and run code

add a watch?

now you can read out all the properties of the coil object.

the one i needed was.

AxisDirectionReversed

 

 

so problem solved!!!!

 

 

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

Post to forums  

Autodesk Design & Make Report