How to know the rotation of the instance when you are edit-i

C

Charley

Guest
Dear All,

How to know the rotation of the instance when you are edit-in-place ?

Thank you,
Char
 
On 7月17日, 下午1時35分, Charley <chentai...@gmail.com> wrote:
Dear All,

How to know the rotation of the instance when you are edit-in-place ?

Thank you,
Char

Hi all,

After try ... , It's car(geGetEditCellView()~>instRefs)~>transform

Thanks All,

Charley
 
Charley wrote, on 07/17/09 07:00:
On 7月17日, 下午1時35分, Charley <chentai...@gmail.com> wrote:
Dear All,

How to know the rotation of the instance when you are edit-in-place ?

Thank you,
Char


Hi all,

After try ... , It's car(geGetEditCellView()~>instRefs)~>transform

Thanks All,

Charley
Charley,

That's not a reliable method, because ~>instRefs will depend upon how many
instances of the edited cell you have open. If you have more than one, it will
not work.

geGetInstHierPath() is the function you want. This returns information about how
you descended down from the top. There's information about the mosaic entry and
iterated instance in the result, but that won't affect the orientation of the
instance, so the following should do the job:

caar(geGetInstHierPath(hiGetCurrentWindow()))~>orient

Regards,

Andrew.
 
On 7月18日, 上午2時01分, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Charley wrote, on 07/17/09 07:00:





On 7月17日, 下午1時35分, Charley <chentai...@gmail.com> wrote:
Dear All,

How to know the rotation of the instance when you are edit-in-place ?

Thank you,
Char

Hi all,

After try ... , It's  car(geGetEditCellView()~>instRefs)~>transform

Thanks All,

Charley

Charley,

That's not a reliable method, because ~>instRefs will depend upon how many
instances of the edited cell you have open. If you have more than one, it will
not work.

geGetInstHierPath() is the function you want. This returns information about how
you descended down from the top. There's information about the mosaic entry and
iterated instance in the result, but that won't affect the orientation of the
instance, so the following should do the job:

caar(geGetInstHierPath(hiGetCurrentWindow()))~>orient

Regards,

Andrew.
Hi Andrew,

You are right. It's very helpful.
Thank you very much.

Charley
 

Welcome to EDABoard.com

Sponsor

Back
Top