Share

Graph.SetNodeGrowthRate Method

Description

This method sets the number of nodes that are allocated to the graph at a time. If the graph consists of many nodes, this method should be called to increase the rate from the default of 8 nodes at a time. Setting a rate to a higher value increases performance but may cause increased memory usage due to unused but allocated node space.

Visual Basic

Public Function SetNodeGrowthRate(
    rate As Integer
) As void

C#

public void SetNodeGrowthRate(
    int rate
);

Parameters

Parameters Description
int rate Number of nodes to allocate at once

Links

Graph Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?