Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Forum,
I am trying to change the position of an AttributeDefinition in a block, but it nothing is changed:
foreach (ObjectId oidAttribute in btrBlock)
{
adOrg = taTransaction.GetObject(oidAttribute, OpenMode.ForRead) as AttributeDefinition;
if (adOrg != null)
{
adOrg.UpgradeOpen();
adOrg.Position = new Point3d(0, 0, 0);
// Break;
break;
}
adOrg = null;
}
...
Commit();What is wrong? How do I change the position?
Thank you.
Solved! Go to Solution.