To create the truss cell, you should create a new model. The model type is preset as "3D".
Activate the "Model Optimization" add-on. This add-on finds suitable parameters for parameterized models and blocks using the Artificial Intelligence (AI) method of particle swarm optimization (PSO).