Add New Task

C

Chris Molland

I am creating an Add-In for Autodesk Inventor in VB 2005. I can create a new
Project and now want to create new tasks and populate the information within
them.

I have designed a VB Form for the user to enter task Name, Duration and a
ComboBox which I want to display a pop-down list of current tasks so that
they can identify a Predecessor and then select the Type.

If I use oProj.Tasks.Add(NewTaskName) how do I then add the other
information? I also would be grateful for a suggestion as to how I make my
comboBox list the existing tasks.

Thank you
 
J

Jan De Messemaeker

Hi,

Set Nutask=oProj.Tasks.Add(NewTaskName)
Nutask.resourceNames="AWorker"
Nutask.number1=121

etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top