43333members
217765posts

C# Create Object with in a group

Highlighted
Lieutenant JG

C# Create Object with in a group

 

Hi,

I hesitate to ask.

 

I have been using;

 

DBObject point = conn.CreateObject("CPointAlgManual", ObjectId.Root, pointName);

 

Is there a way to create an object with in a group rather than in the Root.

 

Thanks,

 

1 REPLY 1
Highlighted
Commander

Re: C# Create Object with in a group

What have you tried so far?

 

I personally prefer the other CreateObject method call, as it's more explicit to me about where the object will actually be created.

 

But the help is your friend.  You need to read it better.

 

 

2020-02-14 16_29_30-Start.png


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..