[CONNECT V10.14.02.01 .NET] Change origin of ParametricCellDefinitionElement while placing instance

Is it possible to change the origin of a ParametricCellDefinitionElement while placing a new ParametricCellElement using said definition?

What i'm trying to achieve with this is the ability to anchor the cell's different corners to the cursor, without needing to create a separate cell for each anchor point.
AFAIK the cell always gets placed with its origin point at the tip of your cursor, so if I have a square with the origin in the bottom left, it'll anchor bottom left, if the origin is at the top right it'll anchor to the top right etc. However this approach would require 4 different variations of the same cell but just with different origins which seem a bit excessive. 

So is there a way to change this origin point when creating a new instance of a ParametricCellDefinitionElement? Or is there a better approach to this in general?

Searching the docs for "Origin" gives me the "Origin" property, but this is get only. As well as only returning classes such as "GetOrigin" which don't have a matching "SetOrigin". And neither does "ParametricCellElement.Create" have any overloads that allow you to define an origin point.

Kind regards,
Remy Moerland

Parents Reply Children
No Data