POST
|
When I`m drawing self intersecting polyline in editor it creates as single part geometry. But when i`m trying to construct self intersecting polyline programmatically it always splits into parts at intersection point. How can I create self intersecting polyline as single part geometry programmatically?
... View more
05-18-2011
06:07 AM
|
0
|
0
|
321
|
POST
|
I understand that it is a complex question, but may be ESRI developers could help? They implemented this functionality in CadastralFabric
... View more
04-27-2011
12:56 PM
|
0
|
0
|
128
|
POST
|
Hi All, My project is ArcGis extension, which uses a specific set of tables and feature classes(cadastral database made according to ukranian law). I want this structure to behave like single geodatabase object similar to CadastralFabric. What interfaces I need to implement to achive this functionality? P.S Sorry for my bad English
... View more
04-27-2011
12:51 PM
|
0
|
0
|
602
|
POST
|
Loop through elements of pagelayout, if element is MapFrameClass, cast it to IElement, use Geometry property to obtain screen coordinates
... View more
04-23-2011
01:42 AM
|
0
|
0
|
267
|
POST
|
Hi, My ArcMap extension depends on specific structure of tables and feature classes stored in geodatabase. Today this structure is a simple set of tables and feature classes in PGDB, but I want to make this correctly. So my thoughts(wishes) about it's behaivor: It should behave as single dataset object, like Parcel Fabric; System tables should be inaccessible to end user; Any feature classes and tables cannot be deleted separately It should have unique class id, so extension could easily determine it's presence in GDB Is there any recomendations for handling such stuctures, and implementing such things?
... View more
04-22-2011
12:40 AM
|
0
|
1
|
449
|
POST
|
Hi, I'm creating tool that draws line through certain points. For visualization of the line I use INewLineFeedBack, but it disappears when display is refreshed. Listening to IActiveView_Rereshed and calling INewLineFeedback.Refresh() on it does not fix this. What should I do to use INewLineFeedBack in my tool without having troubles with display refresh? Thanks in advance this is a piece of my code ESRI.ArcGIS.Display.INewLineFeedback _lineFeedBack = null;
...
public override void OnCreate(object hook)
{
......
ESRI.ArcGIS.Carto.IActiveViewEvents_Event activeEvent = (ESRI.ArcGIS.Carto.IActiveViewEvents_Event)GlobalValues.ActiveDocument.FocusMap;
activeEvent.ViewRefreshed+=new IActiveViewEvents_ViewRefreshedEventHandler(activeEvent_ViewRefreshed);
}
void activeEvent_ViewRefreshed(IActiveView view, esriViewDrawPhase phase, object Data, IEnvelope envelope)
{
if (_lineFeedBack != null )
{
_lineFeedBack.Refresh(GlobalValues.ActiveDocument.ActiveView.ScreenDisplay.hDC);
}
}
public override void OnMouseDown(int Button, int Shift, int X, int Y)
{
.....
if (_lineFeedBack == null)
{
_lineFeedBack = new ESRI.ArcGIS.Display.NewLineFeedbackClass();
_lineFeedBack.Display = GlobalValues.ActiveDocument.ActiveView.ScreenDisplay;
ESRI.ArcGIS.Display.IRgbColor rgbColor = new ESRI.ArcGIS.Display.RgbColorClass();
rgbColor.Red = 0; rgbColor.Green = 255; rgbColor.Blue = 0;
ESRI.ArcGIS.Display.ISimpleLineSymbol symbol=(ESRI.ArcGIS.Display.ISimpleLineSymbol)_lineFeedBack.Symbol;
symbol.Color = rgbColor;
_lineFeedBack.Start(featPoint);
}
else
{
_lineFeedBack.AddPoint(featPoint);
}
....
}
public override void OnMouseMove(int Button, int Shift, int X, int Y)
{
IPoint point= GlobalValues.ActiveDocument.ActiveView.ScreenDisplay.DisplayTransformation.ToMapPoint(X, Y);
if (_lineFeedBack != null) _lineFeedBack.MoveTo(point);
....
}
... View more
10-19-2010
01:08 PM
|
0
|
0
|
234
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|