Date/Time Dialog within Fusion API

Date/Time Dialog within Fusion API

manfred_weinert
Contributor Contributor
161 Views
0 Replies
Message 1 of 1

Date/Time Dialog within Fusion API

manfred_weinert
Contributor
Contributor

I'm currently developing an add-in for which I need a dialog that allows the input of date and time information. For the date and time information, I use "IntegerSpinnerCommandInput" objects from the Fusion API to enter the day, month, year, as well as the hour, minute, and second. (See the attached screen dump "Screendump-Fusion-Date Time Dialog current style.png"). This looks a bit unusual, as the day, month, hour, minute, and second are displayed as single digits without leading zeros.

 

I have incorporated my desired display format into the attached screen dump "Screendump-Fusion-Date Time Dialog future style.png." I hope you also find the format more familiar.

 

This could be achieved by allowing the developer to specify an output format string in the "IntegerSpinnerCommandInput" object. If the programming language for the API objects were C++, the format string could be "%02d" for a sprintf function.

 

I have tried to solve the issue via a request to the Autodesk support, twice.

I got following answers by E-Mail:

####################################################################################

Hello Manfred,

Good day to you

We apologizes for the delay and I would like to inform you kindly post the query https://forums.autodesk.com/ our expert team will look into the issue and assist you accordingly. As fusion personal license will not be able to transfer directly to the technical support.

Thank you for understanding


Best regards,
Vimal

Autodesk Client Services

###################################################################################

May somebody else can help me.

May be there are other solutions using dialog features from third parties, but for any user it is always more convenient staying in one GUI per application, only.

 

Many thanks in advance.

 

Mit freundlichen Grüßen / Kindest Regards

0 Likes
162 Views
0 Replies
Replies (0)