Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I try to load the amount of sheets and sheet size by the following programming lines:
parameter(14) = drw.GetParam("total_sheets")
pvalue(14) = parameter(14).GetScaledValue
CB_AOP.Text = pvalue(14).IntValue.ToString
Only it doesn't work and gives me the NullExeption warning. With custom parameters it just works.
Please, could you help?
The problem is that 'total_sheets' is not a drawing parameter. It is a thing you call out in a manner similar to calling out a parameter, so you get at it with a different mechanism than you use for parameters. I unfortunately don't know the VB API, in Toolkit the function you'd want is ProDrawingSheetsCount.
In VB API you will look for IpfcSheetOwner::NumberOfSheets