Hello Sir,
I am using ArcGIS server 9.3.1 and schematics. Since diagram and its related configuration completed in proper way. We are using Server context object to generate diagram. Passing the features in Ienumfeature.since below is the code which passes feature to standardbuildercontext methos to intialise selection for generating diagram. Please see the attached code txt written in server context. All features are getting selected in MXD as we passing selection from client side.and it worked.
class EnumObjectConverter : IEnumObject
{
public EnumObjectConverter(IEnumFeature enumFea)
{
ef = enumFea;
}
private IEnumFeature ef;
IObject IEnumObject.Next()
{
return ef.Next() as IObject;
}
void IEnumObject.Reset()
{
ef.Reset();
}
}
}
code is throwing when coming to below line
pSchematicDiagram = pSchDiagramClass.SchematicBuilder.GenerateDiagram(DiagramName, pSchematicDiagramContainer, set, ctx, null);
As this is being tested in desktop and worked fine. We are unable to figured out exact root cause. Please assist in this case.
Or any other methos on which can generate diagram on ArcGIS server. I have also tried GP tools sample available in EDN. But that did not help us.
Regards,
Rajesh Mane
Projetc Lead (Utility GIS Solutions)
RMSI india pvt LTD.