POST
|
Yes Thao, when you create your stops, you need to set a property of the stop with a specific Route name. Then when the solver runs, it knows to treat those stops with individual routes.
... View more
02-02-2015
01:04 PM
|
1
|
17
|
916
|
POST
|
You need to get the installation for ArcTutor. When you run that installation, you choose which tutorials you want. In that you choose the schematic extension. If you downloaded the desktop setup online, I would think that the tutorial setup should be in the same location. If not, you should contact Esri tech support or go through your Esri account rep to get what you need.
... View more
10-24-2014
10:54 AM
|
0
|
1
|
643
|
POST
|
What software version are you using? I just tried it with the data you provided and it worked just fine. You didn't include your schematic dataset, so I can't see if there was something wrong with it, but starting from scratch it was fine for me.
... View more
09-29-2014
12:58 PM
|
0
|
0
|
531
|
POST
|
Follow the 'quick start' and see if that resolves the issue. Quick start configuration for Utilities | ArcGIS Resource Center
... View more
09-26-2014
11:01 AM
|
1
|
2
|
531
|
POST
|
Why do you have to convert to state plane? You should try to keep the schematic dataset and feature classes in the same coordinate system. This can be done by exposing the schematic feature classes in catalog (right-click the schematic dataset and choose the show/hide schematic classes option). Then you can go to those feature class properties and adjust.
... View more
09-12-2014
08:51 AM
|
0
|
3
|
616
|
POST
|
There is a snippet in the api documentation...but...the link is broken No nice way to do this other than copy/paste...here you go: <?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title>Generate A Diagram From A Map Selection</Title> <Description>Generate a diagram from features selected in a geographic map</Description> <Author>Esri</Author> </Header> <Snippet> <Code Language="VB"><![CDATA[ #Region"Generate A Diagram From A Map Selection" ' ArcGIS Snippet Title: ' Generate A Diagram From A Map Selection ' ' Long Description: ' Generate a diagram from features selected in a geographic map ' ' Add the following references to the project: ' ESRI.ArcGIS.Carto ' ESRI.ArcGIS.Schematic ' ' Intended ArcGIS Products for this snippet: ' ArcGIS Desktop (Standard, Advanced) ' ArcGIS Engine ' ' Applicable ArcGIS Product Versions: ' 10.0 ' 10.1 ' ' Required ArcGIS Extensions: ' ArcGIS Schematics ' ' Notes: ' This snippet is intended to be inserted at the base level of a Class. ' It is not intended to be nested within an existing Function or Sub. ' ''' <summary> ''' Generate a diagram from features selected in a geographic map ''' </summary> ''' <param name="pMap">Geographic map containing the input selected GIS features</param> ''' <param name="schemDiagClass">SchematicDiagramClass; that is, diagram template on which the generated diagram is based</param> ''' <param name="schemDiagramContainer">SchematicDiagramContainer where the generated diagram will be stored</param> ''' <param name="DiagramName">Name for the generated diagram</param> ''' <returns>The generated ESRI.ArcGIS.Schematic.ISchematicDiagram</returns> Public Function GenerateDiagramFromMap(ByVal pMap As ESRI.ArcGIS.Carto.IMap, ByVal schemDiagClass As ESRI.ArcGIS.Schematic.ISchematicDiagramClass, ByVal schemDiagramContainer As ESRI.ArcGIS.Schematic.ISchematicDiagramContainer, ByVal DiagramName As String) As ESRI.ArcGIS.Schematic.ISchematicDiagram ' if DiagramName is empty exit If (DiagramName.Length = 0) Then Return Nothing ' cast SchematicDiagramClass into ISchematicBuilder Dim schBuilder As ESRI.ArcGIS.Schematic.ISchematicBuilder = TryCast(schemDiagClass, ESRI.ArcGIS.Schematic.ISchematicBuilder) ' create the ISchematicStandardBuilderContext Dim objectType As Type = Type.GetTypeFromProgID("esriSchematic.SchematicStandardBuilderContext") ' if objectType is nothing, the BuilderContext cannot be created, then exit If (objectType Is Nothing) Then Return Nothing Dim schBuilderCtxt As ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext schBuilderCtxt = TryCast(Activator.CreateInstance(objectType), ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext) ' get the selected features in the map Dim enumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature = TryCast(pMap.FeatureSelection, ESRI.ArcGIS.Geodatabase.IEnumFeature) ' initialize the ISchematicStandardBuilderContext with the selection set schBuilderCtxt.InitialObjects = New EnumSchematicObject(enumFeature) ' generate the schematic diagram Return schBuilder.GenerateDiagram(DiagramName, schemDiagramContainer, Nothing, TryCast(schBuilderCtxt, ESRI.ArcGIS.Schematic.ISchematicBuilderContext), Nothing) End Function Public Class EnumSchematicObject Implements ESRI.ArcGIS.Geodatabase.IEnumObject Private m_pIEnumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature Public Sub New(ByVal pEnumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature) m_pIEnumFeature = pEnumFeature End Sub Public Function [Next]() As ESRI.ArcGIS.Geodatabase.IObject Implements ESRI.ArcGIS.Geodatabase.IEnumObject.Next If (m_pIEnumFeature IsNot Nothing) Then Return TryCast(m_pIEnumFeature.Next(), ESRI.ArcGIS.Geodatabase.IObject) Else Return Nothing End If End Function Public Sub Reset() Implements ESRI.ArcGIS.Geodatabase.IEnumObject.Reset If (m_pIEnumFeature IsNot Nothing) Then m_pIEnumFeature.Reset() End Sub End Class #End Region]]></Code> </Snippet> </CodeSnippet> <ArcGISSnippet> <XMLFormat>9</XMLFormat> <SnippetVersion>1</SnippetVersion> <ParentGUID>1258e6f9-7d5f-4958-b398-2ac88ff5d2ae</ParentGUID> <Language>VB</Language> <GUID>356f3b73-8545-41d0-9db4-aa8f6ad79ee9</GUID> <Name>Generate A Diagram From A Map Selection</Name> <LongDescription>Generate a diagram from features selected in a geographic map</LongDescription> <Products> <Product ProductType="Standard">ArcGIS Desktop</Product> <Product ProductType="Advanced">ArcGIS Desktop</Product> <Product ProductType="Engine">ArcGIS Engine</Product> </Products> <Extensions> <Extension>ArcGIS Schematics</Extension> </Extensions> <ArcGISAuthor>Esri</ArcGISAuthor> <ProductVersions> <ProductVersion>10.0</ProductVersion> <ProductVersion>10.1</ProductVersion> </ProductVersions> <SnippetType>function-sub-method</SnippetType> <References> <Reference>ESRI.ArcGIS.Carto</Reference> <Reference>ESRI.ArcGIS.Schematic</Reference> </References> <InputParameters> <Input ParameterType="ByVal">ESRI.ArcGIS.Carto.IMap</Input> <Input ParameterType="ByVal">ESRI.ArcGIS.Schematic.ISchematicDiagramClass</Input> <Input ParameterType="ByVal">ESRI.ArcGIS.Schematic.ISchematicDiagramContainer</Input> <Input ParameterType="ByVal">String</Input> <Input ParameterType="ByVal">ESRI.ArcGIS.Geodatabase.IEnumFeature</Input> </InputParameters> <ReturnParameters> <Return ParameterType="ByVal">ESRI.ArcGIS.Schematic.ISchematicDiagram</Return> <Return ParameterType="ByVal">ESRI.ArcGIS.Geodatabase.IObject</Return> </ReturnParameters> <Members> <Member LinkToComponentHelp="True">ESRI.ArcGIS.Schematic.ISchematicDiagram</Member> <Member LinkToComponentHelp="True">ESRI.ArcGIS.Schematic.ISchematicBuilder</Member> <Member LinkToComponentHelp="True">ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext</Member> <Member LinkToComponentHelp="True">ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext.InitialObjects</Member> <Member LinkToComponentHelp="True">ESRI.ArcGIS.Schematic.ISchematicBuilder.GenerateDiagram</Member> </Members> <CodeBody><![CDATA[ ''' <summary> ''' Generate a diagram from features selected in a geographic map ''' </summary> ''' <param name="pMap">Geographic map containing the input selected GIS features</param> ''' <param name="schemDiagClass">SchematicDiagramClass; that is, diagram template on which the generated diagram is based</param> ''' <param name="schemDiagramContainer">SchematicDiagramContainer where the generated diagram will be stored</param> ''' <param name="DiagramName">Name for the generated diagram</param> ''' <returns>The generated ESRI.ArcGIS.Schematic.ISchematicDiagram</returns> Public Function GenerateDiagramFromMap(ByVal pMap As ESRI.ArcGIS.Carto.IMap, ByVal schemDiagClass As ESRI.ArcGIS.Schematic.ISchematicDiagramClass, ByVal schemDiagramContainer As ESRI.ArcGIS.Schematic.ISchematicDiagramContainer, ByVal DiagramName As String) As ESRI.ArcGIS.Schematic.ISchematicDiagram ' if DiagramName is empty exit If (DiagramName.Length = 0) Then Return Nothing ' cast SchematicDiagramClass into ISchematicBuilder Dim schBuilder As ESRI.ArcGIS.Schematic.ISchematicBuilder = TryCast(schemDiagClass, ESRI.ArcGIS.Schematic.ISchematicBuilder) ' create the ISchematicStandardBuilderContext Dim objectType As Type = Type.GetTypeFromProgID("esriSchematic.SchematicStandardBuilderContext") ' if objectType is nothing, the BuilderContext cannot be created, then exit If (objectType Is Nothing) Then Return Nothing Dim schBuilderCtxt As ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext schBuilderCtxt = TryCast(Activator.CreateInstance(objectType), ESRI.ArcGIS.Schematic.ISchematicStandardBuilderContext) ' get the selected features in the map Dim enumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature = TryCast(pMap.FeatureSelection, ESRI.ArcGIS.Geodatabase.IEnumFeature) ' initialize the ISchematicStandardBuilderContext with the selection set schBuilderCtxt.InitialObjects = New EnumSchematicObject(enumFeature) ' generate the schematic diagram Return schBuilder.GenerateDiagram(DiagramName, schemDiagramContainer, Nothing, TryCast(schBuilderCtxt, ESRI.ArcGIS.Schematic.ISchematicBuilderContext), Nothing) End Function Public Class EnumSchematicObject Implements ESRI.ArcGIS.Geodatabase.IEnumObject Private m_pIEnumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature Public Sub New(ByVal pEnumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature) m_pIEnumFeature = pEnumFeature End Sub Public Function [Next]() As ESRI.ArcGIS.Geodatabase.IObject Implements ESRI.ArcGIS.Geodatabase.IEnumObject.Next If (m_pIEnumFeature IsNot Nothing) Then Return TryCast(m_pIEnumFeature.Next(), ESRI.ArcGIS.Geodatabase.IObject) Else Return Nothing End If End Function Public Sub Reset() Implements ESRI.ArcGIS.Geodatabase.IEnumObject.Reset If (m_pIEnumFeature IsNot Nothing) Then m_pIEnumFeature.Reset() End Sub End Class]]></CodeBody> </ArcGISSnippet> </CodeSnippets>
... View more
09-05-2014
08:53 AM
|
0
|
4
|
1082
|
POST
|
Why can't you have all 83 systems in 1 geometric network? Then generating each diagram is just an initial select by attribute (system=1, system=2 etc...) and generate the diagram. You can generate using our custom query approach, but it technically is much more difficult to configure. There is more information and a video on that approach available on resources.arcgis.com under the communities section and then schematics.
... View more
08-22-2014
10:18 AM
|
0
|
0
|
176
|
POST
|
Are you creating an actual schematic diagram using the ArcGIS Schematics Extension? If so, for the layout part you can of course manually move things as desired, but to automate it you might want to look at a sample elevation layout we have on the resource center: http://www.arcgis.com/home/item.html?id=8700c4bf49194e678055cb6c274abc26
... View more
08-22-2014
09:04 AM
|
1
|
0
|
415
|
POST
|
The ArcGIS Schematics Extension provides a series of 'generic' layout algorithms. The tool is used in many industries, not just electric. So usage varies based on your needs. Usually a layout that an electric company wants is based on existing CAD drawings where the fact is that there is no consistency at all. Someone made decisions on how to lay things out, there was no automated mechanism. The same can be done with the editing tools on a schematic diagram. The layout algorithms are there to potentially help get you a higher percentage of the way and then you can finish with manual placement. Custom layout algorithms can be developed that do exactly what you need. Here is an example of a particular electric need where the Smart Tree layout with an orientation of Top to Bottom worked just fine. http://www.sspinnovations.com/blog/2012/12/05/how-create-electric-single-line-schematic-diagram-arcgis-schematics#.U-JptfldW-1
... View more
08-06-2014
11:10 AM
|
0
|
0
|
295
|
POST
|
There is a public method FitAll available on the SchematicDiagram. Look into that as well.
... View more
07-11-2014
09:34 AM
|
0
|
0
|
501
|
POST
|
Not sure, I haven't been in the silverlight code for a bit, been mostly working in javascript. Have you looked at the schematics sample code for silverlight on the resource center?
... View more
07-10-2014
02:09 PM
|
0
|
1
|
501
|
POST
|
You have to make sure to set your map extent to the extent of the specific diagram you are trying to view. The schematic service is showing schematic layer that likely represents all diagrams in the database, so the initial extent is quite large. So when displaying 1 of the diagrams in the service, you have to reset the map's extent to that diagram's extent which you can get from the diagram rest endpoint.
... View more
07-08-2014
10:51 AM
|
0
|
3
|
501
|
POST
|
Looks good Aaron, congrats! And thanks for your willingness to share your knowledge and experience with others.
... View more
06-26-2014
06:31 AM
|
0
|
19
|
1801
|
POST
|
Not sure I understand this statement: "As you know when you create a schematics, your nodes and edges move. " Moving nodes and links is a user choice...edit them or don't edit them. The only time that is automatic is if the admin has decided to automatically apply a layout algorithm to the diagram template. Again, that is a company choice though. Anyway, there isn't a way to 'lock' certain features so they never move. You can simply select all the Node A nodes and then run the Geo-Initial Positions layout algorithm. That will move just those nodes back to the original XY position.
... View more
06-06-2014
07:08 AM
|
0
|
0
|
532
|
Title | Kudos | Posted |
---|---|---|
1 | 12-16-2013 10:41 AM | |
1 | 08-22-2014 09:04 AM | |
1 | 01-09-2017 07:52 AM | |
1 | 01-09-2017 08:59 AM | |
1 | 04-11-2014 10:02 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:22 AM
|