Femap Api Tutorial Now

' 3. Get all elements Set elemSet = App.feElementSet elemSet.GetAll ()

' 4. Loop through elements For Each elem In elemSet If elem.ID > 100 Then ' 5. Add element to the new group elem.InGroup (newGroupID) ' True = add to group End If Next elem

Open FEMAP, press Ctrl+Shift+V to open the VBA editor, click Record , create a simple geometry, stop recording, and study the code. That single exercise is worth more than reading a hundred pages.

' 3. Get all elements Set elemSet = App.feElementSet elemSet.GetAll ()

' 4. Loop through elements For Each elem In elemSet If elem.ID > 100 Then ' 5. Add element to the new group elem.InGroup (newGroupID) ' True = add to group End If Next elem

Open FEMAP, press Ctrl+Shift+V to open the VBA editor, click Record , create a simple geometry, stop recording, and study the code. That single exercise is worth more than reading a hundred pages.