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: 

API, Does C# differ from VB.net?

1 REPLY 1
Reply
Message 1 of 2
y_jean
183 Views, 1 Reply

API, Does C# differ from VB.net?

In the project, i have imported the same "dll": Autodesk.Inventor.Interop.

In the VB.NET, i can found the "Item" property in the ComponentDefinition.Parameters .

So i use the following code:

Dim params As Parameters

params = partDoc.ComponentDefinition.Parameters

params.Item("length")



But in the c#, i can not found the "Item" property.

Anyone can tell me the reason?

Thanks!
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: y_jean

You might want to try posting to


Inventor Customization (VBA and VB)
http://discussion.autodesk.com/forum.jspa?forumID=120
news://discussion.autodesk.com/autodesk.inventor.customization



--
Duncan
"Humour ... is one man shouting gibberish in the face of authority, and
proving by fabricated insanity that nothing could be as mad as what passes
for ordinary living."
(Terence 'Spike' Milligan K.B.E., 1918-2002)
www.autodesk.co.uk/inventorjobs
http://support.microsoft.com/default.aspx/kb/555375



wrote in message news:6190169@discussion.autodesk.com...
In the project, i have imported the same "dll": Autodesk.Inventor.Interop.

In the VB.NET, i can found the "Item" property in the
ComponentDefinition.Parameters .

So i use the following code:

Dim params As Parameters

params = partDoc.ComponentDefinition.Parameters

params.Item("length")



But in the c#, i can not found the "Item" property.

Anyone can tell me the reason?

Thanks!

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

Post to forums  

Autodesk Design & Make Report