Hi,
We have Invento 2015 and I am trying to change the decimal places (precision) of the holetable row using API.
in Inventor API documentation suggest it is possible to change the text and formated text for holetabelcell.
This is the page for the HoleTableCell
HoleTableCell.FormattedText Property
HoleTableCell.FormattedText Property
Parent Object: HoleTableCell
Description
Property that gets and sets the fully formatted string that defines the contents of the dimension or note text.
Syntax
HoleTableCell.FormattedText() As String
Version
Introduced in Inventor version 10
I can get the formatredText like this:
debug.print ThisApplication.ActiveDocument.HoleTables(1).HoleTableRows(1).Item(2).FormattedText
and for example it will return "0.63 in"
But when I try to set this value to a new number, it will generate error.
ThisApplication.ActiveDocument.HoleTables(1).HoleTableRows(1).Item(2).FormattedText="0.625 in"
Error: Method 'FormattedText' of Object 'HoleTableCell" failed.
The same thing will happen if I try to modify the Text member of the HoleTableCell.
Any idea? How can I modify the decimal places (precision) for a particular cell of the Holetable.
Thanks
Hamid