NEAutomation2 Application
This is the first method of NEAutomation2 API. after this you can access all the functionality of NEAPI like creating workorder,making connection adding inventory data and making Detail views. there are two ways to instanciate this
For VB
dim pAppHelper as new Neautomation2.AppHelper
dim pApp as Neautomation2.Application
set pApp=pAppHelpeer.Application
or
For Dot Net
dim pApp as Neautomation.application=Neautomation2.Application.Instance
or
For C#
Neautomation.Application pApp=Neautomation.application.instance();
10 comments:
Hi Manoj,
I'm developing customizations for NE in Spain. I worked to Telefónica (PLANEX) too. ;o)
I'm trying to manage TransmediaUnits Contracts (CONTRACT_NUMBER) as NE do it at NE.ADMIN_RANGE_ATTRIBUTES, but with NEAutomation2.dll we can't access to AdminRanges collection (only AdminLabels is accesible and visible), and we don't know how we should do it with the NEAPI.
May be you could help us.
Thanks in advance.
AdminRangeAttributes are TransmediaUnits in NEAPI. You need to make the instance of this class
dim g_pNEAPP as NEAutomation2.Application=NEAutomation2.Application.Instance()
dim pTUnits as NEAutomation2.TransmediaUnits
pTUnits=g_pNEAPP.TransmediaUnits
now read the PTUnits it will hopefully give you the record which you want.
if you still have a doubt contact me at
manojsinghrana@gmail.com
Hi Manoj
I'm trying to make a trace to a connection with neAPI, but i'm stuck the Ne APi is not wery well documented and i can't find anythning on Goole about developing Network engine extentions, can you please help?
I've used the NEprogrammers guide example, but i get a invalid cast exception
public ClassNeTrace(IFeature selectedFeature, NEAutomation2.Application neApp)
{
neApp.Connections.Clear();
neApp.Connections.Load(ref selectedFeature);
TraceCursor pTraceCursor = neApp.Connections[1].Trace();
TraceResult pTraceResult;
if(pTraceCursor != null)
pTraceResult = pTraceCursor.NextTrace();
neApp.Connections.Flush();
}
Can you tell me what ive have done wrong ?
is there any documentation on how to program with the NeAPI ?
Thanks from Denmark :-)
jacob
Hello Sir..
Kranti here.. Hope you remember me..
Now m gonna start working on NE proj from next month.. so in that case i need your help at some stages. Sir if u having any NE API documents or some sample materials on NE automation then please mail me on krantiyadav752000@yahoo.co.in
Sir m going to US in this month ans so that i need to revise NE before going.
So plz help me ASAP..
Thanks and regards,
Kranti
Hello Manoj.
I am new to NEAutomation2.
I belive you can help me.
What is the way to add a SpanUnit to an existing Span?
Do I have to create a DetailView?
I tried to use Span.SpanUnits.Add(...), but it dont work. Any ideas?
thanks, Simon
Hi Simon
I need the details of your code so that i can trace where you are having the problem.
please provide your email id so that i can reply you in details
Regards
Manoj Singh
Hi Manoj.
Thanks for the reply.
I'll paste the code to the e-mail, it's bad formated here.
Mail me on simonjud@gmail.com.
Simon.
I would like to add an equipment on an existing structure.
How would I do that using VB and neautomation2?
Sir I have data of NE in 5.2 and ArcGIS 9.2. And I want to change projection system from UTM to LTM. What impact analysis I have to do?
And how can I do it using NE API?
Post a Comment