Hi,
i try to insert a paramtric cell in my model.
I have an attached cell lib nd I can find the cell via the name in the lib and get a ParametricCellDefinitionElement object.
I can iterate over the variables of the parametric cell, and with a IECPropertyValue objct I can the the needed values for the variables.
But I didn't find a way to insert the parametric block into the model.
CreateCellElementXX and CreateSharedCellElementXX only create a normal cells. Any command I missed? Or can I change the cell to a paramtric cell and set the variables?
Or do i have to use something like:
App.CadInputQueue.SendCommand("PLACE CELL", true); App.CadInputQueue.SendKeyin(parametricCellData.ParametricCellName);
Point3d dataPoint; dataPoint.X = parametricCellData.PtInsert.X; dataPoint.Y = parametricCellData.PtInsert.Y; dataPoint.Z = parametricCellData.PtInsert.Z; App.CadInputQueue.SendDataPoint(ref dataPoint, 1, 0);
Thanks for help
Markus