cPointObjSetSpecialPoint Method |
Namespace: ETABS2016
int SetSpecialPoint( string Name, bool SpecialPoint, eItemType ItemType = eItemType.Objects )
If this item is Objects, the special point status is set for the point object specified by the Name item.
If this item is Group, the special point status is set for all point objects in the group specified by the Name item.
If this item is SelectedObjects, the special point status is set for all selected point objects and the Name item is ignored.
Public Sub Example() Dim SapModel As cSapModel Dim EtabsObject As cOAPI Dim ret As Integer = -1 'create ETABS object EtabsObject = CreateObject("CSI.ETABS.API.ETABSObject") 'start ETABS application ret = EtabsObject.ApplicationStart() 'create SapModel object SapModel = EtabsObject.SapModel 'initialize model ret = SapModel.InitializeNewModel() 'create steel deck template model ret = SapModel.File.NewSteelDeck(4, 12, 12, 4, 4, 24, 24) 'set as special point ret = SapModel.PointObj.SetSpecialPoint("3", True) 'close ETABS EtabsObject.ApplicationExit(False) 'clean up variables SapModel = Nothing EtabsObject = Nothing End Sub