1
Automation Interface, Add-Ins and Tools / Re: Import attributes from csv file to datatable
« on: February 09, 2017, 04:47:06 pm »
Hi,
Don't know if this will also help, but I have also been playing around with Geert's importer (love your work,mate!).
I had a problem setting the attribute.scale property. After some googling, I stumbled across the answer. Scale is evidently a reserved word in VBA (sprung - I am not a developer by trade
) - although it does not appear in the list of reserved words on the msdn web site - go figure. Then I learnt that to use a VBA reserved word in a script, it must be enclosed in square brackets []
So the syntax looks like
myAttribute.[Scale] = attScale
NB - I believe this is only relevent to Numeric/Decimal data types
HTH
Cheers Peter
Don't know if this will also help, but I have also been playing around with Geert's importer (love your work,mate!).
I had a problem setting the attribute.scale property. After some googling, I stumbled across the answer. Scale is evidently a reserved word in VBA (sprung - I am not a developer by trade

So the syntax looks like
myAttribute.[Scale] = attScale
NB - I believe this is only relevent to Numeric/Decimal data types
HTH
Cheers Peter