Timing in ilogic

Timing in ilogic

Anonymous
Not applicable
411 Views
1 Reply
Message 1 of 2

Timing in ilogic

Anonymous
Not applicable

I have to submit monthly reports and part of that is 'how much time has been spent on files'. Basically at the beginning of a project we attempt to define the effort required to reach the end of the project. So a qty of 'time' is assigned for each stage in the project.

 

Can I create a rule that could manage this? ie a rule that when a file is created it starts a timer. The timer would pause/stop when the active window is closed. At this point the value is written to a spreadsheet.

 

On subsequent opening and closing events the time is then added to the previous time and updated.

 

I've had a look around and there is some code out there that shows timer functions that show how long a rule runs for. Could this be adapted to do as said above? start timer>do some form of dummy loop>stop timer on program exit etc...

 

I'm looking at the overall 'reporting' that I have to do and would like to automate most or if not all of this into a 'real time' spreadsheet in order that we can identify problems at an earlier stage.

 

thanks all 🙂 

0 Likes
412 Views
1 Reply
Reply (1)
Message 2 of 2

MechMachineMan
Advisor
Advisor

An add-in would be best for this.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes