I'm new in this forum....
I have a problem reading the AutogenField class, in particular I don't know how to read the current value of
I haven't found a member in this class.
For example in the ComplexField ther is ComplexVal member.
This is my code:
foreach (NumSchmField n in num)
FieldType fT = n.FieldTyp;
if (fT == FieldType.FixedText)
FixedTxtField f = (FixedTxtField)n;
else if (fT == FieldType.FreeText)
FreeTxtField f = (FreeTxtField)n;
else if (fT == FieldType.Autogenerated)
AutogenField f = (AutogenField)n;
Can anyone help me?!?
...Sorry for my bad English....
To repeat your question, you have a numbering scheme with an AutogenField and you want to know what the next number is going to be.
I don't think there is a way to get that information without generating the next number in the sequence.
Thank's for the reply...
I try with Autocad 2013 and when I save the draw with a numbering scheme with an AutogenField, Autocad offers me the next number automatically.
This information is saved into Autocad?
Because if this is true, I can try to save this infomation into my application by code..
Access a broad range of knowledge to help get the most out of your products and services.