With the BuildingBlock API there is a call AddToUsingClause() that adds some usings to the code.
Unfortunately this works only when the Building Block is initialized (i.e. dragged to the Building Block Strategy GUI). It does not work at a later stage, i.e. when the block is run.
This causes problems with some building blocks (ie. Plot block form finantic.InteractveGraphics) where the needed using statements depend on a parameter setting (PlotSpec) and are known at runtime only.
Please make AddToUsingClause() work if called from GenerateVarCode() (for example).
Unfortunately this works only when the Building Block is initialized (i.e. dragged to the Building Block Strategy GUI). It does not work at a later stage, i.e. when the block is run.
This causes problems with some building blocks (ie. Plot block form finantic.InteractveGraphics) where the needed using statements depend on a parameter setting (PlotSpec) and are known at runtime only.
Please make AddToUsingClause() work if called from GenerateVarCode() (for example).
Rename
Currently there are no replies yet. Please check back later.
Your Response
Post
Edit Post
Login is required