SceneControl loads the 3DS file as a symbol
IGraphicsContainer3D pGC3D = (IGraphicsContainer3D) SC1.Scene. BasicGraphicsLayer;
PGC3D. DeleteAllElements ();
IPoint pPoint = new PointClass ();
(IZAware) pPoint). ZAware = true;
PPoint. PutCoords (443153.795329851, 4161998.98909512 );
PPoint. z= 100;
IMarkerSymbol pSimpleMarkerSymbol = new SimpleMarker3DSymbolClass ();
IMarker3DSymbol pMarker3DSymbol = new Marker3DSymbolClass ();
PMarker3DSymbol. CreateFromFile (@ "D:" Sketchup "yuan.3ds ");
PMarker3DSymbol. UseMaterialDraping = true;
// IMarkerPlacement pMarkerPlacement = pMarker3DSymbol as IMarkerPlacement; // cannot be used here (IMarkerPlacement) pMarker3DSymbol;
IMarkerSymbol pMarkerSymbol = (IMarkerSymbol) pMarker3DSymbol;
PMarkerSymbol. Size = 70;
PMarkerSymbol. Angle = 90;
(ISimpleMarker3DSymbol) pSimpleMarkerSymbol). Style = esriSimple3DMarkerStyle. esriS3DMSSphere;
(ISimpleMarker3DSymbol) pSimpleMarkerSymbol). ResolutionQuality = 1.0;
PSimpleMarkerSymbol. Size = 700;
IElement pElement = new MarkerElementClass ();
(IMarkerElement) pElement). Symbol = (IMarkerSymbol) pMarker3DSymbol;
PElement. Geometry = pPoint;
PGC3D. AddElement (IElement) pElement );
SC1.SceneGraph. RefreshViewers ();