Transfer a group from one femap model to next


Script Author: Ian Rivard

 

Description:

This script allows the user to import or export groups and or layers from / to a model. It creates a file containing group and layer properties which can be used to transfer those properties alongside a bulk data file (BDF) without transferring the entire .modfem file. Engineers work from bulk decks for many reasons including software platform cross compatibility across the Nastran family of pre & post processors. For efficient archive purposes, often run decks are compiled together outside the pre/post processor environment.

This script allows the user to keep the model organization when working with bulk decks. Import/Export Groups/Layers also can do much more than just groups and layers, it can keep track of entity colors (property, material, node, element), and it can save you freebodies as well, both freebody and interface load. When exporting freebodies, take care that the reference coordinate systems are available. A companion tool, export groups as bulk deck, can be convenient for exporting reference coordinate systems that are not required for the model solve, but can be convenient for post processing purposes and
transfer a group from one femap model to next

[Solved] How to create groups from layers, and move primitive geometry to Layer0

Mickael1

Hello,

I am working with files made with another software (FME), which can handle sketchup layers, but only partially : faces are set to the wanted layer, but all edges are set to Layer0.

So, is their a way to retreive edges connected to “layered” faces and set them into the same layer ? And to create a group from thoses faces & edges ?

I have been looking to many posts, running several tests, but I still havn’t figured it out, so any help on this would be appreciated

EDIT : Thanks to DaveR explanations, I am now looking for a way to :
1°) Create faces + edges groups from my current layers (which only “contains” faces),
2°) Assign those groups to their related layer,
3°) Move all primitive geometry to Layer0.
Here is the kind of file I am working on (generated by FME) :
groups_layers_test_file.skp (400.6 KB)

DaveR2

So you’re importing the file from FME into SketchUp?

All edges and faces should be on Layer 0, not on other layers. It sounds to me as if you need to be moving the imported faces to Layer 0.

Mickael3

DaveR:

So you’re importing the file from F

.


.


.