on 2024 Dec 26 9:08 PM
Hi!
I want to configure a default value for sequence start parameter on physical data model. There is the DefOptions attribute, but I tried to set the value there and it didn't worked. How can I use this to set a start value for all new sequences on model?
Thank in advance!
Request clarification before answering.
Hi,
I suppose you mean "start with" value inside Physical Options in the Sequence properties. In order to achieve that, the easiest way for NEWLY created Sequences is to go to menu Database - Default Physical Options... - Sequence tab and set your desired options here.
If you need to do some fine tuning as well, you can define Initialize handler and do it by script. Setting initial value to any of Physical options is approximately one row of code:
obj.SetPhysicalOptionValue "<initial>/start with", 8If you need to to maintain your ALREADY EXISTING Sequences, you have several options:
This is what I like about PD a lot. PD almost always offers several different solutions to a given problem.
Kind Regards,
Ondrej Divis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.