Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Milestone Scripting - Modify Date

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
dkeeley
688 Views, 4 Replies

Milestone Scripting - Modify Date

Hi,

 

is it possible to modify the date of an existing milestone using scripting? If so can you provide an example?

 

Thanks,

 

David.

4 REPLIES 4
Message 2 of 5
gasevsm
in reply to: dkeeley

David,
Presently, milestones can be created and read via the script api. They cannot be updated; it is on my near-term roadmap to address.
--
Martin Gasevski

Martin Gasevski | Fusion 360 Team Product Manager
Message 3 of 5
dkeeley
in reply to: gasevsm

Hi Martin,

 

Thanks for the quick reply. I'm delighted that this will be coming soon - it is badly needed and will prove very useful

 

David.

Message 4 of 5
michael.pares.old
in reply to: dkeeley

Sure.  We do this all the time.  Here is a library script that we use to change the milestone date.

 

//Reset a milestone due date
function resetMilestoneDate(milestone, dueDate) {
    milestone.milestoneDate = new Date(dueDate);
    return; //null
}

Message 5 of 5
dkeeley
in reply to: michael.pares.old

Hey, that works! Thanks so much.

 

Why is this not documented? 

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

Post to forums  

Autodesk Design & Make Report