Bulk iProperty Copying Performance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm in the depths of my iLogic code to try improve performance. I have around 6000 lines of code and I have been using the stopwatch function to get some pretty good performance feedback.
I've found some useful tips in the API (like using 'For Each *** In *** instead for For i to ***.Count). I now have 2 areas left to reduce processing time - 1. excel lookups and writes to a register 2. Bulk iProperty copying to lower level part.
1. We are moving away from excel and implementing SQL, I am hoping this will help reduce lookup times.
2. This is where I need some advice. I need to copy approx. 100 iProperties down to a child component so that the lower level component refelcts it's parent.
Currently I am simply doing :
iProperties.Value("BLANK", "Custom", "BLANK_GDIM") = iProperties.Value("Custom", "BLANK_GDIM")
The process is taking around 0.6 seconds to complete ( It's already pretty quick, I know! I'm looking in every corner to try improve performance!)
I've come across 'flushtofile' in the API, but looks like it's apprentice only which is no good to me!
Does anybody know any tips / tricks to improve the speed of setting iProperties?
I have a target to get the entire processing time to sub 1 sec, I'm currently on around 1.8sec, so any other performance tips / tricks would be appreciated.
FYI - I am running :
Xeon 3.20GHz (8 core)
24GB RAM
Windows 7 64bit
Inventor 2011 SP1
Page file 36GB to SSD
Inventor library info on SSD
Thanks,
Tom