Hi everyone
I have a problem
when trying to copy element from one model to active model
when an element is with line style
After copying element to my destination model element is without line style
I using method to copy edP from source model
mdlElmdscr_duplicate (&cdP, edP);
and adding to master model
mdlElmdscr_display (cdP, MASTERFILE, NORMALDRAW);mdlElmdscr_add (cdP);
Any idea - what am I doing wrong?
Unknown said:mdlElmdscr_duplicate (&cdP, edP); What am I doing wrong?
What am I doing wrong?
When you duplicate, you haven't changed models, so there's no need for MicroStation to copy related data such as line styles.
Unknown said:When trying to copy element from one model to active model
You almost supplied your own answer: use mdlElmdscr_copy. Provide a CopyContext, which enables MicroStation to copy related data such as the line style.
Regards, Jon Summers LA Solutions
Answer Verified By: Robert Hook
Great Jon
Thanks for Your cooperation
It really works fine - You really helped me
Regards
Greg